SPECS: ant.spec - create %ghost symlink in %post - now I do understand how ...

pawelz pawelz at pld-linux.org
Thu Oct 23 00:08:07 CEST 2008


Author: pawelz                       Date: Wed Oct 22 22:08:07 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- create %ghost symlink in %post
- now I do understand how to package %ghosted file

---- Files affected:
SPECS:
   ant.spec (1.94 -> 1.95) 

---- Diffs:

================================================================
Index: SPECS/ant.spec
diff -u SPECS/ant.spec:1.94 SPECS/ant.spec:1.95
--- SPECS/ant.spec:1.94	Tue Oct 21 14:12:39 2008
+++ SPECS/ant.spec	Thu Oct 23 00:08:01 2008
@@ -690,6 +690,9 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post javadoc
+ln -nfs %{name}-%{version} %{_javadocdir}/%{name}
+
 %files
 %defattr(644,root,root,755)
 %doc KEYS LICENSE* README WHATSNEW
@@ -887,6 +890,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.95  2008/10/22 22:08:01  pawelz
+- create %ghost symlink in %post
+- now I do understand how to package %ghosted file
+
 Revision 1.94  2008/10/21 12:12:39  glen
 - unify java package (template-java.spec)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ant.spec?r1=1.94&r2=1.95&f=u



More information about the pld-cvs-commit mailing list