From e4a0e1c62b93b04595fc5b0cd28b86f1d134e856 Mon Sep 17 00:00:00 2001 From: Mikhail Novosyolov Date: Tue, 11 Jun 2019 01:08:46 +0300 Subject: [PATCH] Ported some things from RPM4, run ./autogen.sh in %%build --- rpm.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rpm.spec b/rpm.spec index 26d1e15..ddf8eec 100644 --- a/rpm.spec +++ b/rpm.spec @@ -1,4 +1,4 @@ -%define commit ab01c1915dc2531573cc89245161ea51228a6a12 +%define commit 9dc762cbb78c7dbe6bdd4c425f909e833472e82d %define short_commit %(echo %{commit} | head -c 4) # When updating, change commit hash above to the commit in # https://abf.io/soft/rpm5 that you want to build from @@ -65,7 +65,7 @@ Summary: The RPM package management system Name: rpm Epoch: 1 Version: %{libver}.%{minorver} -Release: 91.git%{short_commit} +Release: 94.git%{short_commit} License: LGPLv2.1+ Group: System/Configuration/Packaging Url: http://rpm5.org/ @@ -584,9 +584,10 @@ This package contains the RPM API documentation generated in HTML format. %setup -q -a5 -n rpm5-%{commit} mkdir -p cpu-os-macros tar -zxf %{SOURCE3} -C cpu-os-macros -./autogen.sh +%apply_patches %build +./autogen.sh %configure2_5x --enable-nls \ --with-pic \ %if %{with debug}