Changeset 2058 for branches


Ignore:
Timestamp:
Nov 20, 2011, 7:48:30 PM (11 years ago)
Author:
ezyang
Message:
Use numbered backups to accomodate multiple patches to a single spec file.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/fc15-dev/server/fedora/Makefile

    r2056 r2058  
    9494        cp ${specs}/*.spec $(tmp_specs)
    9595
     96# Remove old .orig files so we're not mislead
    9697patch-specs: install-srpms
    9798        @cd ${tmp_specs}; \
    9899        list=`ls ${specs}/*.spec.patch`; \
     100        rm -f *.orig; \
     101        rm -f *.spec.~*~; \
    99102        for i in $$list; do \
    100                 patch < $$i; \
     103                patch -bV numbered < $$i; \
    101104        done; \
    102105        list2=`svn ls ${oursrcdir}`; \
Note: See TracChangeset for help on using the changeset viewer.