mark's fix
authorAaron Klingaman <alk@cs.princeton.edu>
Fri, 9 Apr 2004 19:37:19 +0000 (19:37 +0000)
committerAaron Klingaman <alk@cs.princeton.edu>
Fri, 9 Apr 2004 19:37:19 +0000 (19:37 +0000)
Makerules
Patchrules
Rules.mk

index 95854f1..85f978c 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -32,7 +32,7 @@
 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
-# $Id: Makerules,v 1.3 2004/04/08 21:08:47 mlh-pl_rpm Exp $
+# $Id: Makerules,v 1.4 2004/04/09 19:06:27 mlh-pl_rpm Exp $
 #
 
 # Base cvsps and rpmbuild in the current directory
@@ -107,7 +107,7 @@ define PATCH_template
 
 # In case the spec file did not explicitly list the PatchSet
 ifeq ($$(origin Patch$(1)),undefined)
-Patch$(1) := $$(Source0)-$(1).patch.bz2
+Patch$(1) := $$(package)-$(1).patch.bz2
 endif
 
 # Get rid of URL
index 29c17f0..10b6fce 100644 (file)
@@ -4,7 +4,7 @@
 #
 # Copyright (c) 2003  The Trustees of Princeton University (Trustees).
 # 
-# $Id$
+# $Id: Patchrules,v 1.1 2004/04/09 19:24:00 mlh-pl_rpm Exp $
 #
 
 while read PatchSet n ; do
@@ -14,7 +14,7 @@ while read PatchSet n ; do
 cat <<EOF
 # In case the spec file did not explicitly list the PatchSet
 ifeq (\$(origin Patch${n}),undefined)
-Patch${n} := \$(Source0)-${n}.patch.bz2
+Patch${n} := \$(package)-${n}.patch.bz2
 endif
 
 # Get rid of URL
index 95854f1..85f978c 100644 (file)
--- a/Rules.mk
+++ b/Rules.mk
@@ -32,7 +32,7 @@
 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 #
-# $Id: Makerules,v 1.3 2004/04/08 21:08:47 mlh-pl_rpm Exp $
+# $Id: Makerules,v 1.4 2004/04/09 19:06:27 mlh-pl_rpm Exp $
 #
 
 # Base cvsps and rpmbuild in the current directory
@@ -107,7 +107,7 @@ define PATCH_template
 
 # In case the spec file did not explicitly list the PatchSet
 ifeq ($$(origin Patch$(1)),undefined)
-Patch$(1) := $$(Source0)-$(1).patch.bz2
+Patch$(1) := $$(package)-$(1).patch.bz2
 endif
 
 # Get rid of URL