diff --git a/quilt-stable-rebuild.patch b/quilt-stable-rebuild.patch new file mode 100644 index 0000000..c91accc --- /dev/null +++ b/quilt-stable-rebuild.patch @@ -0,0 +1,17 @@ +Index: quilt-0.51/Makefile.in +=================================================================== +--- quilt-0.51.orig/Makefile.in ++++ quilt-0.51/Makefile.in +@@ -227,8 +227,11 @@ doc/reference : bin/quilt $(QUILT:%=quil + @unset LANG LC_MESSAGES LC_CTYPE LC_ALL; \ + for i in $(QUILT); \ + do \ ++ echo $$i; \ ++ done | sort | while read j ; \ ++ do \ + echo; \ +- quilt $$i -h; \ ++ quilt $$j -h; \ + echo; \ + done | \ + $(SED) -e 's/\$$EDITOR ([^)]*)/$$EDITOR/' \ diff --git a/quilt.changes b/quilt.changes index 39a722d..71124c6 100644 --- a/quilt.changes +++ b/quilt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Feb 25 23:50:59 CET 2012 - meissner@suse.de + +- make rebuilding stable by sorting the README reference entries. + ------------------------------------------------------------------- Wed Feb 1 16:01:36 CET 2012 - jdelvare@suse.de diff --git a/quilt.spec b/quilt.spec index c14ed66..b96d3ac 100644 --- a/quilt.spec +++ b/quilt.spec @@ -1,7 +1,7 @@ # # spec file for package quilt # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,17 +15,27 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: quilt -BuildRequires: diffstat ed emacs-nox procmail +BuildRequires: diffstat +BuildRequires: ed +BuildRequires: emacs-nox +BuildRequires: procmail Summary: A Tool for Working with Many Patches License: GPL-2.0+ Group: Productivity/Text/Utilities Version: 0.51 -Release: 1 -Requires: coreutils diffutils findutils patch gzip bzip2 perl mktemp diffstat file +Release: 0 +Requires: bzip2 +Requires: coreutils +Requires: diffstat +Requires: diffutils +Requires: file +Requires: findutils +Requires: gzip +Requires: mktemp +Requires: patch +Requires: perl %if %{suse_version} > 910 Recommends: procmail %endif @@ -40,6 +50,7 @@ Patch2: fix-relative-import.patch Patch3: patch-wrapper-rpm.diff Patch4: grep-support-spaces.patch Patch5: suse-workaround-pseudo-release.patch +Patch6: quilt-stable-rebuild.patch Url: http://savannah.nongnu.org/projects/quilt BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -64,6 +75,7 @@ Authors: %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 %build # --with-rpmbuild=/usr/lib/rpm/rpmb: