Author: glen Date: Tue Sep 6 20:07:14 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - better migration
---- Files affected: SPECS: gplflash.spec (1.10 -> 1.11) ---- Diffs: ================================================================ Index: SPECS/gplflash.spec diff -u SPECS/gplflash.spec:1.10 SPECS/gplflash.spec:1.11 --- SPECS/gplflash.spec:1.10 Tue Aug 23 20:10:13 2005 +++ SPECS/gplflash.spec Tue Sep 6 22:07:08 2005 @@ -3,7 +3,7 @@ Summary(pl): Biblioteka renderująca animacje Flash Name: gplflash Version: 0.4.13 -Release: 2.6 +Release: 2.9 License: GPL Group: Libraries Source0: http://dl.sourceforge.net/gplflash/%{name}-%{version}.tar.bz2 @@ -20,7 +20,7 @@ BuildRequires: libstdc++-devel BuildRequires: libtool BuildRequires: zlib-devel >= 1.1.4 -BuildRequires: rpmbuild(macros) >= 1.224 +BuildRequires: rpmbuild(macros) >= 1.236 BuildConflicts: flash Obsoletes: flash BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -74,9 +74,11 @@ Summary(pl): Wtyczka przeglądarki wyświetlająca animacje Flash Group: X11/Libraries Requires: %{name} = %{version}-%{release} +Requires: browser-plugins(%{_target_cpu}) Obsoletes: mozilla-plugin-flash Obsoletes: mozilla-plugin-gplflash -Requires: browser-plugins(%{_target_cpu}) +# for migrate purposes (greedy poldek upgrade) +Provides: mozilla-plugin-gplflash # use macro, otherwise extra LF inserted along with the ifarch %ifarch %{ix86} ppc sparc sparc64 @@ -158,6 +160,11 @@ %triggerun -n browser-plugin-%{name} -- konqueror %nsplugin_uninstall -d %{_libdir}/kde3/plugins/konqueror libnpflash.so +# as rpm removes the old obsoleted package files after the triggers +# above are ran, add another trigger to make the links there. +%triggerpostun -- mozilla-plugin-gplflash +%nsplugin_install -f -d %{_libdir}/mozilla/plugins libnpflash.so + %files %defattr(644,root,root,755) %doc AUTHORS NEWS README TODO @@ -186,6 +193,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.11 2005/09/06 20:07:08 glen +- better migration + Revision 1.10 2005/08/23 18:10:13 glen - require correct arch of browser-plugins ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/gplflash.spec?r1=1.10&r2=1.11&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
