NEWS is much more appropriate than quilt.changes to feed the rpm spec
file's %changelog section.
---
Makefile.in | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
--- quilt.orig/Makefile.in 2014-04-06 20:00:20.783318851 +0200
+++ quilt/Makefile.in 2014-04-06 21:36:33.056197584 +0200
@@ -59,7 +59,7 @@ DIRT += $(shell $(FIND) . -name '*~')
DIRT += $(shell $(FIND) . -name '.\#*')
SRC += COPYING AUTHORS TODO Makefile.in configure.ac \
- config/install-sh quilt.spec.in quilt.changes \
+ config/install-sh quilt.spec.in NEWS \
bash_completion quilt.quiltrc aclocal.m4 git-desc
DIRT += quilt.spec
@@ -115,7 +115,6 @@ SRC += $(PO:%=po/%)
DIRT += po/*.mo po/*~
SRC += $(wildcard test/*.test) test/run test/test.quiltrc
-SRC += changes2changelog
NON_EXEC_IN := doc/quilt.1 doc/README quilt/scripts/patchfns
quilt/scripts/utilfns
@@ -242,10 +241,12 @@ $(PACKAGE)-$(GIT_DESC).tar.bz2 : $(SRC)
rm -f $(PACKAGE)-$(GIT_DESC)
@echo "File $@ created."
-$(PACKAGE).spec : $(PACKAGE).spec.in $(PACKAGE).changes Makefile
+$(PACKAGE).spec : $(PACKAGE).spec.in NEWS Makefile
@echo "Generating spec file" ; \
set -e ; \
- changelog="`./changes2changelog $(PACKAGE).changes`" ; \
+ changelog="`sed \
+ -e 's/^Version \([0-9.]*\) (\(.*\))/* \2 - upstream\n- Update
to version \1/' \
+ -e 's/^ -/ +/' < NEWS`" ; \
$(AWK) '{ gsub(/@VERSION''@/, "$(VERSION)") ; \
gsub(/@RELEASE''@/, "$(RELEASE)") ; \
gsub(/@CHANGELOG''@/, changelog) ; \
--
Jean Delvare
SUSE L3 Support
_______________________________________________
Quilt-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/quilt-dev