RPM Packaging: update fileshareset

pull/3/head
François Andriot 10 years ago
parent 059f02ff22
commit 74b8045437

@ -65,11 +65,11 @@ export CXXFLAGS="$CXXFLAGS -fPIE"
export CFLAGS="$CXXFLAGS -fPIE" export CFLAGS="$CXXFLAGS -fPIE"
export LDFLAGS="$LDFLAGS -pie" export LDFLAGS="$LDFLAGS -pie"
%configure %configure
make %{?_smp_mflags} %__make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT %__rm -rf $RPM_BUILD_ROOT
%__make install DESTDIR=$RPM_BUILD_ROOT %__make install DESTDIR=$RPM_BUILD_ROOT
# Install the man page # 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" echo "RESTRICT=yes" > "${RPM_BUILD_ROOT}%{_sysconfdir}/security/fileshare.conf"
%clean
%__rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_bindir}/filesharelist %{_bindir}/filesharelist

Loading…
Cancel
Save