sclorg / spec2scl

MIT License
7 stars 7 forks source link

Add support for transforming scriptlet-specific dependencies #37

Closed mbooth101 closed 6 years ago

mbooth101 commented 6 years ago

Previously spec2scl would ignore these lines entirely because the regular expression did not match them. This change fixes the regex to match scriptlet-specific requires and adds some extra test data.

mbooth101 commented 6 years ago

This allows me to transform such cases as this in the bouncycastle RPM: http://pkgs.fedoraproject.org/cgit/rpms/bouncycastle.git/tree/bouncycastle.spec?id=b20fd5613f75debd40604470ca7bca34869451fb#n30

irushchyshyn commented 6 years ago

Thanks a lot for updating tests with examples. Looks good 👍