/[pdpsoft]/nl.nikhef.pdp.fetchcrl/tags/fetch-crl-3.0.11/Makefile
ViewVC logotype

Diff of /nl.nikhef.pdp.fetchcrl/tags/fetch-crl-3.0.11/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2316 by davidg, Tue Jun 28 06:34:37 2011 UTC revision 2511 by davidg, Wed Apr 18 13:54:40 2012 UTC
# Line 25  tar:    clean configure fetch-crl Line 25  tar:    clean configure fetch-crl
25          -chmod -R u+rw /var/tmp/${RELEASE}          -chmod -R u+rw /var/tmp/${RELEASE}
26          cd /var/tmp/ ; tar  cvfz ${RELEASE}.tar.gz --exclude=CVS \          cd /var/tmp/ ; tar  cvfz ${RELEASE}.tar.gz --exclude=CVS \
27                      --exclude='*~' --exclude='#*#' --exclude='20*' ${RELEASE}                      --exclude='*~' --exclude='#*#' --exclude='20*' ${RELEASE}
28            cd /var/tmp/ ; perl -pe '/^Req/ and s/chkconfig/aaa_base/g' < ${RELEASE}/fetch-crl.spec > ${RELEASE}/fetch-crl.spec.suse ; mv ${RELEASE}/fetch-crl.spec.suse ${RELEASE}/fetch-crl.spec ; tar  cvfz ${RELEASE}.suse.tar.gz --exclude=CVS \
29                        --exclude='*~' --exclude='#*#' --exclude='20*' ${RELEASE}
30          cp /var/tmp/${RELEASE}.tar.gz .          cp /var/tmp/${RELEASE}.tar.gz .
31            cp /var/tmp/${RELEASE}.suse.tar.gz .
32    
33  #####################################################################  #####################################################################
34  # Create substitution script  # Create substitution script
# Line 90  install: configure Line 93  install: configure
93    
94  rpm: tar  rpm: tar
95          rpmbuild -ta ${RELEASE}.tar.gz          rpmbuild -ta ${RELEASE}.tar.gz
96            rpmbuild -ta -D "dist .suse" ${RELEASE}.suse.tar.gz
97          @if [ -f ${RPMTOPDIR}/SRPMS/${NAME}-${VERSION}-${PATCHLEVEL}.src.rpm ] ; then \          @if [ -f ${RPMTOPDIR}/SRPMS/${NAME}-${VERSION}-${PATCHLEVEL}.src.rpm ] ; then \
98            mv ${RPMTOPDIR}/SRPMS/${NAME}*-${VERSION}-${PATCHLEVEL}.src.rpm . ;  \            mv ${RPMTOPDIR}/SRPMS/${NAME}*-${VERSION}-${PATCHLEVEL}.src.rpm . ;  \
99          fi          fi
# Line 101  rpm: tar Line 105  rpm: tar
105          fi          fi
106          @if [ -f ${RPMTOPDIR}/RPMS/noarch/${NAME}-${VERSION}-${PATCHLEVEL}.noarch.rpm ] ; then \          @if [ -f ${RPMTOPDIR}/RPMS/noarch/${NAME}-${VERSION}-${PATCHLEVEL}.noarch.rpm ] ; then \
107            mv ${RPMTOPDIR}/RPMS/noarch/${NAME}*-${VERSION}-${PATCHLEVEL}.noarch.rpm . ;  \            mv ${RPMTOPDIR}/RPMS/noarch/${NAME}*-${VERSION}-${PATCHLEVEL}.noarch.rpm . ;  \
108              mv ${RPMTOPDIR}/RPMS/noarch/${NAME}*-${VERSION}-${PATCHLEVEL}.suse.noarch.rpm . ;  \
109          fi          fi
110          @echo DO NOT FORGET TO SIGN THE RPM WITH rpm --resign ${NAME}*-${VERSION}-${PATCHLEVEL}.noarch.rpm          @echo DO NOT FORGET TO SIGN THE RPM WITH rpm --resign ${NAME}*-${VERSION}-${PATCHLEVEL}.noarch.rpm
111    

Legend:
Removed from v.2316  
changed lines
  Added in v.2511

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28