rpms/kile/devel kile.spec,1.14,1.15

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Tue Oct 11 13:09:14 UTC 2005


Author: rdieter

Update of /cvs/extras/rpms/kile/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20416/devel

Modified Files:
	kile.spec 
Log Message:
* Tue Oct 11 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1.8.3-5
- absolute->relative symlinks



Index: kile.spec
===================================================================
RCS file: /cvs/extras/rpms/kile/devel/kile.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- kile.spec	11 Oct 2005 12:59:41 -0000	1.14
+++ kile.spec	11 Oct 2005 13:09:12 -0000	1.15
@@ -3,7 +3,7 @@
 Name:	 kile
 Summary: (La)TeX source editor and TeX shell
 Version: 1.8.1
-Release: 4%{?dist}
+Release: 5%{?dist}
 
 License: GPL
 Group: 	 Applications/Publishing
@@ -71,6 +71,20 @@
   --delete-original \
   $RPM_BUILD_ROOT%{_datadir}/appl*/*/*.desktop
   
+# Replace absolute symlinks with relative ones
+if [ -d $RPM_BUILD_ROOT%{_docdir}/HTML ]; then
+pushd $RPM_BUILD_ROOT%{_docdir}/HTML
+for lang in *; do
+  if [ -d $lang ]; then
+    pushd $lang
+    for i in *; do
+      [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
+    done
+    popd
+  fi
+done
+popd
+fi
 
 ## File lists
 # locale's
@@ -119,6 +133,9 @@
 
 
 %changelog
+* Tue Oct 11 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1.8.3-5
+- absolute->relative symlinks
+
 * Tue Oct 11 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1.8.3-4
 - use gtk-update-icon-cache (#170291)
 




More information about the fedora-extras-commits mailing list