From ab9ede3b56402f0768715c46d184c9b14059378d Mon Sep 17 00:00:00 2001 From: "Ankur Sinha (Ankur Sinha Gmail)" Date: Tue, 29 Sep 2020 16:13:51 +0100 Subject: [PATCH] Make minor tweaks in spec to fix build --- munge.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/munge.spec b/munge.spec index af61e4a..34d5e12 100644 --- a/munge.spec +++ b/munge.spec @@ -1,6 +1,6 @@ Name: munge Version: 0.5.13 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Enables uid & gid authentication across a host cluster # The libs and devel package is GPLv3+ and LGPLv3+ where as the main package is GPLv3 only. @@ -19,7 +19,7 @@ Requires: logrotate Requires(pre): shadow-utils -%systemd_requires +%{?systemd_requires} %{?sysusers_requires_compat} %description @@ -58,7 +58,7 @@ echo "d /run/munge 0755 munge munge -" > src/etc/munge.tmpfiles.conf.in # Get rid of some rpaths for /usr/sbin sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool -make %{?_smp_mflags} +%make_build %install @@ -73,7 +73,7 @@ install -p -D -m 0644 %{SOURCE3} %{buildroot}%{_sysusersdir}/munge.conf # rm unneeded files. rm %{buildroot}/%{_sysconfdir}/sysconfig/munge # -rm %{buildroot}/%{_initddir}/munge +rm %{buildroot}/%{_sysconfdir}/init.d/munge # Exclude .la files rm %{buildroot}/%{_libdir}/libmunge.la @@ -157,6 +157,9 @@ mv %{buildroot}%{_var}/run %{buildroot} %changelog +* Tue Sep 29 2020 Ankur Sinha - 0.5.13-10 +- Fix spec + build + * Tue Jul 28 2020 Fedora Release Engineering - 0.5.13-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild