RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Jeff Johnson Root: /v/rpm/cvs Email: j...@rpm5.org Module: rpm Date: 27-Oct-2010 01:52:03 Branch: rpm-5_3 Handle: 2010102623520300 Modified files: (Branch: rpm-5_3) rpm/tests Makefile.am Log: - tests: stub-in a target to create a rpm SRPM. Summary: Revision Changes Path 1.63.2.47 +5 -0 rpm/tests/Makefile.am ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/tests/Makefile.am ============================================================================ $ cvs diff -u -r1.63.2.46 -r1.63.2.47 Makefile.am --- rpm/tests/Makefile.am 26 Oct 2010 23:05:19 -0000 1.63.2.46 +++ rpm/tests/Makefile.am 26 Oct 2010 23:52:03 -0000 1.63.2.47 @@ -277,6 +277,11 @@ @-${rpm} -E '%{python:print "--> python: Snake Eggs!",}' @-${rpm} -E '%{ficl:.( --> ficl: Das OpenBoot!)}' +check-srpm: + if [ -f rpm.spec && -f rpm/r...@package_version@.tar.gz && -f rpm/cpu-os-macros.tar.gz ]; then \ + ${rpm} -bs --nodeps rpm.spec && mv rpm/*.src.rpm . ; \ + fi + %.spec: $(wildcard %-*.src.rpm) @${rpm2cpio} $(wildcard $*-*.src.rpm) | ${cpio} -i --quiet $@ @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org