From 0da7b6ae1b3580c43a103b249674959dde8e342d Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 13 Jul 2020 22:56:56 +0000 Subject: [PATCH] Use make macros https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro --- mcstrans.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/mcstrans.spec b/mcstrans.spec index 92ab73b..6889d3e 100644 --- a/mcstrans.spec +++ b/mcstrans.spec @@ -1,7 +1,7 @@ Summary: SELinux Translation Daemon Name: mcstrans Version: 3.1 -Release: 2%{?dist} +Release: 3%{?dist} License: GPL+ Url: https://github.com/SELinuxProject/selinux/wiki Source: https://github.com/SELinuxProject/selinux/releases/download/20200710/mcstrans-3.1.tar.gz @@ -42,7 +42,7 @@ from internal representations to user defined representation. %build %set_build_flags -make LIBDIR="%{_libdir}" %{?_smp_mflags} +%make_build LIBDIR="%{_libdir}" %install rm -rf %{buildroot} @@ -51,7 +51,7 @@ mkdir -p %{buildroot}/%{_libdir} mkdir -p %{buildroot}%{_usr}/share/mcstrans mkdir -p %{buildroot}%{_sysconfdir}/selinux/mls/setrans.d -make DESTDIR="%{buildroot}" LIBDIR="%{_libdir}" SHLIBDIR="%{_lib}" SBINDIR="%{_sbindir}" install +%make_install LIBDIR="%{_libdir}" SHLIBDIR="%{_lib}" SBINDIR="%{_sbindir}" rm -f %{buildroot}%{_libdir}/*.a cp -r share/* %{buildroot}%{_usr}/share/mcstrans/ # Systemd @@ -93,6 +93,10 @@ install -m644 %{SOURCE2} %{buildroot}%{_mandir}/man8/ %{_usr}/share/mcstrans/util/* %changelog +* Tue Jul 28 2020 Tom Stellard - 3.1-3 +- Use make macros +- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro + * Tue Jul 28 2020 Fedora Release Engineering - 3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild