rpms/epiphany/devel epiphany.spec,1.201,1.202

Matthias Clasen mclasen at fedoraproject.org
Thu Oct 9 05:14:55 UTC 2008


Author: mclasen

Update of /cvs/extras/rpms/epiphany/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31158

Modified Files:
	epiphany.spec 
Log Message:
save some space



Index: epiphany.spec
===================================================================
RCS file: /cvs/extras/rpms/epiphany/devel/epiphany.spec,v
retrieving revision 1.201
retrieving revision 1.202
diff -u -r1.201 -r1.202
--- epiphany.spec	26 Sep 2008 02:23:34 -0000	1.201
+++ epiphany.spec	9 Oct 2008 05:14:25 -0000	1.202
@@ -8,7 +8,7 @@
 Summary: GNOME web browser based on the Mozilla rendering engine
 Name: epiphany
 Version: 2.24.0.1
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPLv2+ and GFDL
 Group: Applications/Internet
 URL: http://www.gnome.org/projects/epiphany/
@@ -136,6 +136,22 @@
 make install DESTDIR=$RPM_BUILD_ROOT
 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
 
+# save some space
+helpdir=$RPM_BUILD_ROOT%{_datadir}/gnome/help/%{name}
+for f in $helpdir/C/figures/*.png; do
+  b="$(basename $f)"
+  for d in $helpdir/*; do
+    if [ -d "$d" -a "$d" != "$helpdir/C" ]; then
+      g="$d/figures/$b"
+      if [ -f "$g" ]; then
+        if cmp -s $f $g; then
+          rm "$g"; ln -s "../../C/figures/$b" "$g"
+        fi
+      fi
+    fi
+  done
+done
+
 %find_lang %{name} --with-gnome
 
 # Remove the bookmarks editor menu item
@@ -225,6 +241,9 @@
 %{_datadir}/pygtk/2.0/defs/epiphany.defs
 
 %changelog
+* Thu Oct  9 2008 Matthias Clasen <mclasen at redhat.com> - 2.24.0.1-4
+- Save some more space
+
 * Thu Sep 25 2008 Matthias Clasen <mclasen at redhat.com> - 2.24.0.1-3
 - Save some space
 




More information about the scm-commits mailing list