SPECS: browser-common.spec - themes and extensions are noarch - us...

glen glen at pld-linux.org
Wed Sep 28 15:34:03 CEST 2005


Author: glen                         Date: Wed Sep 28 13:34:03 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- themes and extensions are noarch
- use trigger for migration

---- Files affected:
SPECS:
   browser-common.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/browser-common.spec
diff -u SPECS/browser-common.spec:1.1 SPECS/browser-common.spec:1.2
--- SPECS/browser-common.spec:1.1	Wed Sep 28 15:25:06 2005
+++ SPECS/browser-common.spec	Wed Sep 28 15:33:57 2005
@@ -19,7 +19,7 @@
 Summary(pl):	Podstawowy pakiet dla wtyczek przeglądarek WWW
 Name:		browser-common
 Version:	0.9
-Release:	0.4
+Release:	0.5
 License:	GPL
 Group:		Base
 URL:		http://www.mozilla.org/projects/plugins/
@@ -41,13 +41,14 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_libdir}/browser-common/{plugins,themes,extensions}
+install -d $RPM_BUILD_ROOT%{_datadir}/browser-common/{themes,extensions}
+install -d $RPM_BUILD_ROOT%{_libdir}/browser-common/plugins
 touch $RPM_BUILD_ROOT%{_libdir}/browser-plugins
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
+%triggerpostun -- browser-plugins
 if [ -d %{_libdir}/browser-plugins ]; then
 	mv -f %{_libdir}/browser-plugins/* %{_libdir}/browser-common/plugins
 	rmdir %{_libdir}/browser-plugins
@@ -57,6 +58,8 @@
 %files
 %defattr(644,root,root,755)
 %{_libdir}/browser-common
+%{_datadir}/browser-common
+# we will own the compat symlink
 %ghost %{_libdir}/browser-plugins
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -65,6 +68,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2005/09/28 13:33:57  glen
+- themes and extensions are noarch
+- use trigger for migration
+
 Revision 1.1  2005/09/28 13:25:06  glen
 - similiar approach for extensions and themes, based on browser-plugins
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/browser-common.spec?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list