diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2009-09-01 16:02:46 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-09-02 10:06:46 -0400 |
commit | e9ea1b4e59384cdfe3accdf31e5c579c3dad5591 (patch) | |
tree | 2874d2a94c3d4941e5dbfd91c24a468fdc6b5467 /Makefile.am | |
parent | 86cd50fa3dd34f53847140f6eeb7fedfcd97f386 (diff) | |
download | sssd-e9ea1b4e59384cdfe3accdf31e5c579c3dad5591.tar.gz sssd-e9ea1b4e59384cdfe3accdf31e5c579c3dad5591.tar.xz sssd-e9ea1b4e59384cdfe3accdf31e5c579c3dad5591.zip |
Move RPM specfiles into contrib/
Support RHEL 5 in the spec file
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am index 04c22158f..d569605a2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,7 +6,7 @@ RPMBUILD ?= $(PWD)/rpmbuild builddir ?= . dist_noinst_DATA = \ - sssd.spec.in \ + contrib/sssd.spec.in \ BUILD.txt \ COPYING @@ -18,11 +18,17 @@ rpmroot: mkdir -p $(RPMBUILD)/SRPMS rpms: dist-gzip rpmroot - cp $(builddir)/sssd.spec $(RPMBUILD)/SPECS + cp $(builddir)/contrib/sssd.spec $(RPMBUILD)/SPECS cp $(distdir).tar.gz $(RPMBUILD)/SOURCES - cd $(RPMBUILD); rpmbuild --define "_topdir $(RPMBUILD)" -ba SPECS/sssd.spec + cd $(RPMBUILD); \ + rpmbuild --define "_topdir $(RPMBUILD)" -ba SPECS/sssd.spec +# make srpms will use the old digest algorithm to be compatible +# with RHEL5 srpms: dist-gzip rpmroot - cp $(builddir)/sssd.spec $(RPMBUILD)/SPECS + cp $(builddir)/contrib/sssd.spec $(RPMBUILD)/SPECS cp $(distdir).tar.gz $(RPMBUILD)/SOURCES - cd $(RPMBUILD); rpmbuild --define "_topdir $(RPMBUILD)" -bs SPECS/sssd.spec + cd $(RPMBUILD); \ + rpmbuild --define "_topdir $(RPMBUILD)" \ + --define _source_filedigest_algorithm=1 \ + -bs SPECS/sssd.spec |