SPECS: sudo.spec - replace symlink with man links

glen glen at pld-linux.org
Wed Oct 15 15:55:26 CEST 2008


Author: glen                         Date: Wed Oct 15 13:55:26 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- replace symlink with man links

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

---- Diffs:

================================================================
Index: SPECS/sudo.spec
diff -u SPECS/sudo.spec:1.134 SPECS/sudo.spec:1.135
--- SPECS/sudo.spec:1.134	Wed Oct 15 14:52:50 2008
+++ SPECS/sudo.spec	Wed Oct 15 15:55:21 2008
@@ -171,10 +171,9 @@
 rm -f $RPM_BUILD_ROOT%{_libdir}/sudo_noexec.la
 
 # replace hardlinks with symlinks
-rm -f $RPM_BUILD_ROOT%{_bindir}/sudoedit
+ln -sf %{_bindir}/sudo $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
+echo '.so sudo.8' > $RPM_BUILD_ROOT%{_mandir}/man8/sudoedit.8
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -204,6 +203,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.135  2008/10/15 13:55:21  glen
+- replace symlink with man links
+
 Revision 1.134  2008/10/15 12:52:50  sls
 - replace sudoedit* hardlinks with symlinks
 
================================================================

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



More information about the pld-cvs-commit mailing list