[gnome-packagekit] fedora: remove the ChangeLog file to remove 150k from the binary package



commit cef850f87cbf5d1fa6af7d6e73ca683fd3575770
Author: Richard Hughes <richard hughsie com>
Date:   Mon Jul 20 10:23:54 2009 +0100

    fedora: remove the ChangeLog file to remove 150k from the binary package

 contrib/gnome-packagekit.spec.in |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/contrib/gnome-packagekit.spec.in b/contrib/gnome-packagekit.spec.in
index bd0e76a..ef7f72e 100644
--- a/contrib/gnome-packagekit.spec.in
+++ b/contrib/gnome-packagekit.spec.in
@@ -101,6 +101,9 @@ export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 make install DESTDIR=$RPM_BUILD_ROOT
 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
 
+# nuke the ChangeLog file, it's huge
+rm -f $RPM_BUILD_ROOT%{_datadir}/doc/gnome-packagekit-*/ChangeLog
+
 desktop-file-install --delete-original                   \
   --dir=$RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/                    \
   $RPM_BUILD_ROOT%{_datadir}/gnome/autostart/gpk-update-icon.desktop
@@ -153,7 +156,7 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
 
 %files -f %{name}.lang
 %defattr(-,root,root,-)
-%doc AUTHORS ChangeLog COPYING NEWS README
+%doc AUTHORS COPYING NEWS README
 %{_bindir}/gpk-application
 %{_bindir}/gpk-install-*
 %{_bindir}/gpk-log
@@ -195,7 +198,7 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
 
 %files extra
 %defattr(-,root,root,-)
-%doc AUTHORS ChangeLog COPYING NEWS README
+%doc AUTHORS COPYING NEWS README
 %{_bindir}/gpk-backend-status
 %{_bindir}/gpk-service-pack
 %{_datadir}/gnome-packagekit/gpk-service-pack.ui



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]