summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
Diffstat (limited to 'redhat')
-rw-r--r--redhat/extras/fileshareset/fileshareset.spec8
1 files changed, 6 insertions, 2 deletions
diff --git a/redhat/extras/fileshareset/fileshareset.spec b/redhat/extras/fileshareset/fileshareset.spec
index 5f4f1bf96..face7a28a 100644
--- a/redhat/extras/fileshareset/fileshareset.spec
+++ b/redhat/extras/fileshareset/fileshareset.spec
@@ -65,11 +65,11 @@ export CXXFLAGS="$CXXFLAGS -fPIE"
export CFLAGS="$CXXFLAGS -fPIE"
export LDFLAGS="$LDFLAGS -pie"
%configure
-make %{?_smp_mflags}
+%__make %{?_smp_mflags}
%install
-rm -rf $RPM_BUILD_ROOT
+%__rm -rf $RPM_BUILD_ROOT
%__make install DESTDIR=$RPM_BUILD_ROOT
# Install the man page
@@ -80,6 +80,10 @@ mkdir -p "${RPM_BUILD_ROOT}/etc/security/"
echo "RESTRICT=yes" > "${RPM_BUILD_ROOT}%{_sysconfdir}/security/fileshare.conf"
+%clean
+%__rm -rf $RPM_BUILD_ROOT
+
+
%files
%defattr(-,root,root,-)
%{_bindir}/filesharelist