[SSSD] [PATCHES] Contrib RPM specfile improvements

Stephen Gallagher sgallagh at redhat.com
Tue Mar 6 15:40:25 UTC 2012


Jan Cholasta noticed that our upstream builder wasn't producing
experimental packages into the ipa-devel repository. This was due to the
builders not setting the enable_experimental variable. Patch 0003 in
this set now makes that the default in the spec file. I left it
conditionalized so that it's easy for other packagers to take the spec
and turn the experimental features back off.

Patch 0001 makes a change that we made in Fedora some time ago to
properly handle filtering Provides: for our python library. The other
approach was long outdated and broke multilib on Fedora 17.

Patch 0002 is a cleanup patch to make the set of files we're installing
explicit, so we can easily catch mistakes. Previously we were installing
files by glob, which meant we could have missed some if we didn't notice
that they hadn't built.

Patch 0003 makes building the experimental features the default for
'make rpms'.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Prune-python-provides-correctly.patch
Type: text/x-patch
Size: 881 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120306/8e34ffaa/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Make-RPM-spec-more-explicit.patch
Type: text/x-patch
Size: 1504 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120306/8e34ffaa/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Build-experimental-features-by-default-in-RPMs.patch
Type: text/x-patch
Size: 769 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120306/8e34ffaa/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20120306/8e34ffaa/attachment.sig>


More information about the sssd-devel mailing list