SPECS: sudo.spec - replace sudoedit* hardlinks with symlinks

sls sls at pld-linux.org
Wed Oct 15 14:52:55 CEST 2008


Author: sls                          Date: Wed Oct 15 12:52:55 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- replace sudoedit* hardlinks with symlinks

---- Files affected:
SPECS:
   sudo.spec (1.133 -> 1.134) 

---- Diffs:

================================================================
Index: SPECS/sudo.spec
diff -u SPECS/sudo.spec:1.133 SPECS/sudo.spec:1.134
--- SPECS/sudo.spec:1.133	Wed Oct 15 14:45:18 2008
+++ SPECS/sudo.spec	Wed Oct 15 14:52:50 2008
@@ -170,6 +170,12 @@
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/sudo_noexec.la
 
+# replace hardlinks with symlinks
+rm -f $RPM_BUILD_ROOT%{_bindir}/sudoedit
+rm -f $RPM_BUILD_ROOT%{_mandir}/man8/sudoedit.8
+ln -s %{_bindir}/sudo $RPM_BUILD_ROOT%{_bindir}/sudoedit
+ln -s %{_mandir}/man8/sudo.8 $RPM_BUILD_ROOT%{_mandir}/man8/sudoedit.8
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -198,6 +204,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.134  2008/10/15 12:52:50  sls
+- replace sudoedit* hardlinks with symlinks
+
 Revision 1.133  2008/10/15 12:45:18  sls
 - keep custom install-sh
 - use pretty __make install
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/sudo.spec?r1=1.133&r2=1.134&f=u



More information about the pld-cvs-commit mailing list