aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-31 21:46:57 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-31 21:46:57 +0000
commit4390751f75b6cd65386576b11101e287dbb671e5 (patch)
treee18dd67693646111dc3d5902f6c682590770de98
parent74e2d2844b6fd490ef77ffadb33dd73ecc368d0c (diff)
downloadfetchmail-4390751f75b6cd65386576b11101e287dbb671e5.tar.gz
fetchmail-4390751f75b6cd65386576b11101e287dbb671e5.tar.bz2
fetchmail-4390751f75b6cd65386576b11101e287dbb671e5.zip
Make the RPM spec include the patchlevel.
svn path=/trunk/; revision=460
-rw-r--r--Makefile.in4
-rwxr-xr-xspecgen.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index e5f49b84..a1524a0a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -163,8 +163,8 @@ $(infodir)/fetchmail.info: fetchmail.info
$(mandir)/$(instname).$(manext): fetchmail.man
$(INSTALL_DATA) $(srcdir)/fetchmail.man $@
-fetchmail.spec: Makefile.in
- $(srcdir)/specgen.sh $(VERS) >fetchmail.spec
+fetchmail.spec: $(srcdir)/Makefile.in $(srcdir)/specgen.sh
+ $(srcdir)/specgen.sh $(VERS) $(PL) >fetchmail.spec
.PHONY: clean realclean distclean mostlyclean
clean:
diff --git a/specgen.sh b/specgen.sh
index 0eedbe11..2a19d225 100755
--- a/specgen.sh
+++ b/specgen.sh
@@ -2,7 +2,7 @@ cat <<EOF
Description: Remote mail fetcher for POP2, POP3, APOP, IMAP
Name: fetchmail
Version: ${1}
-Release: 1
+Release: ${2}
Source: locke.ccil.org:/pub/esr/fetchmail-${1}.tar.gz
Copyright: distributable
Group: Mail