aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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