summaryrefslogtreecommitdiffstats
path: root/redhat/extras
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-10-05 12:04:18 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2014-10-05 12:04:18 +0200
commit74b804543784bbb591da0c8264613ca5d24582ff (patch)
treea7989a39d2968c015db6b75f6134bc131279e145 /redhat/extras
parent059f02ff22a8161e7f615ce92dd67933e1e35654 (diff)
downloadtde-packaging-74b804543784bbb591da0c8264613ca5d24582ff.tar.gz
tde-packaging-74b804543784bbb591da0c8264613ca5d24582ff.zip
RPM Packaging: update fileshareset
Diffstat (limited to 'redhat/extras')
-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