From: Ondrej Mosnacek <omosnace(a)redhat.com>
After commit 699de0b4ccfa ("Copy Makefile.rhelver as a source file
rather than a patch"), there is no longer a special Patch1, so the
generated patches can start at 1.
Fixes: 699de0b4ccfa ("Copy Makefile.rhelver as a source file rather than a
patch")
Signed-off-by: Ondrej Mosnacek <omosnace(a)redhat.com>
---
redhat/genspec.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/redhat/genspec.sh b/redhat/genspec.sh
index b72dffe14729..d75fef669ab7 100755
--- a/redhat/genspec.sh
+++ b/redhat/genspec.sh
@@ -30,7 +30,7 @@ HIDE_REDHAT=1;
HIDE_UNSUPPORTED_ARCH=1;
# Set up for broken out patches
plistf="$SOURCES/Patchlist"
-pnum=2
+pnum=1
# override LC_TIME to avoid date conflicts when building the srpm
LC_TIME=
STAMP=$(echo $MARKER | cut -f 1 -d '-' | sed -e "s/v//");
--
GitLab