From 9377fadabc105f3ea0dc6d74e425be6d4b570241 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 13 Jul 2020 20:45:13 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- libcdio.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libcdio.spec b/libcdio.spec index 7aed0b7..8a5fa35 100644 --- a/libcdio.spec +++ b/libcdio.spec @@ -1,6 +1,6 @@ Name: libcdio Version: 2.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: CD-ROM input and control library License: GPLv3+ URL: http://www.gnu.org/software/libcdio/ @@ -40,7 +40,7 @@ iconv -f ISO88591 -t utf-8 -o THANKS.utf8 THANKS && mv THANKS.utf8 THANKS --disable-cddb \ --disable-static \ --disable-rpath -make %{?_smp_mflags} +%make_build # another multilib fix; remove the architecture information from version.h sed -i -e "s,%{version} .*$,%{version}\\\",g" include/cdio/version.h @@ -52,7 +52,7 @@ cp %{SOURCE2} . ./run_doxygen %install -make install DESTDIR=$RPM_BUILD_ROOT +%make_install # multilib header hack; taken from postgresql.spec case `uname -i` in @@ -113,6 +113,10 @@ make check %changelog +* Mon Jul 13 2020 Tom Stellard - 2.1.0-2 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Mon Mar 30 2020 Adrian Reber - 2.1.0-1 - updated to 2.1.0