aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.private
diff options
context:
space:
mode:
authorhpa <hpa>2003-04-16 19:52:35 +0000
committerhpa <hpa>2003-04-16 19:52:35 +0000
commitb126993550a63b16bb6a35dac3f1b82dba0775f1 (patch)
tree5f21191f9cf80b728e1c61ead4a9833cfb58ddb1 /Makefile.private
parent31e884f23fddefb936708939f957363bd5d7f33a (diff)
downloadsyslinux-b126993550a63b16bb6a35dac3f1b82dba0775f1.tar.gz
syslinux-b126993550a63b16bb6a35dac3f1b82dba0775f1.tar.xz
syslinux-b126993550a63b16bb6a35dac3f1b82dba0775f1.zip
Hack around RPM versioning issues for now
Diffstat (limited to 'Makefile.private')
-rw-r--r--Makefile.private5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.private b/Makefile.private
index 03186e39..b33863d1 100644
--- a/Makefile.private
+++ b/Makefile.private
@@ -48,7 +48,7 @@ release:
xargs -0rt rm -f
find release/syslinux-$(VERSION) -name CVS -type d -print0 | \
xargs -0rt rm -rf
- sed -e 's/@@VERSION@@/$(VERSION)/g' \
+ sed -e 's/@@VERSION@@/$(VERSION)/g' -e 's/@@RPMVERSION@@/$(VERSION)/g' \
< release/syslinux-$(VERSION)/syslinux.spec.in \
> release/syslinux-$(VERSION)/syslinux.spec
rm -f release/syslinux-$(VERSION)/syslinux.spec.in
@@ -79,7 +79,8 @@ prerel:
xargs -0rt rm -f
find $(PRERELDIR)/$(PREREL) -name CVS -type d -print0 | \
xargs -0rt rm -rf
- sed -e 's/@@VERSION@@/$(RPMPREREL)/g' \
+ sed -e 's/@@VERSION@@/$(VERSION)-pre$(PRERELNO)/g' \
+ -e 's/@@RPMVERSION@@/$(RPMPREREL)/g' \
< $(PRERELDIR)/$(PREREL)/syslinux.spec.in \
> $(PRERELDIR)/$(PREREL)/syslinux.spec
rm -f $(PRERELDIR)/$(PREREL)/syslinux.spec.in