SPECS: djvulibre.spec - migration triggers
glen
glen at pld-linux.org
Tue Sep 6 21:07:07 CEST 2005
Author: glen Date: Tue Sep 6 19:07:07 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- migration triggers
---- Files affected:
SPECS:
djvulibre.spec (1.36 -> 1.37)
---- Diffs:
================================================================
Index: SPECS/djvulibre.spec
diff -u SPECS/djvulibre.spec:1.36 SPECS/djvulibre.spec:1.37
--- SPECS/djvulibre.spec:1.36 Tue Sep 6 20:39:54 2005
+++ SPECS/djvulibre.spec Tue Sep 6 21:07:00 2005
@@ -22,6 +22,7 @@
BuildRequires: automake
BuildRequires: libjpeg-devel
BuildRequires: libstdc++-devel
+BuildRequires: rpmbuild(macros) >= 1.236
%{?with_qt:BuildRequires: qt-devel >= 3.0.5}
Obsoletes: djvu
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -183,6 +184,14 @@
%triggerun -n browser-plugin-%{name} -- netscape-common
%nsplugin_uninstall -d %{_libdir}/netscape/plugins nsdejavu.so
+# as rpm removes the old obsoleted package files after the triggers
+# are ran, add another trigger to make the links there.
+%triggerpostun -n browser-plugin-%{name} -- mozilla-plugin-%{name}
+%nsplugin_install -f -d %{_libdir}/mozilla/plugins nsdejavu.so
+
+%triggerpostun -n browser-plugin-%{name} -- netscape-plugin-%{name}
+%nsplugin_install -f -d %{_libdir}/netscape/plugins nsdejavu.so
+
%files
%defattr(644,root,root,755)
%doc COPYRIGHT NEWS README TODO doc/*
@@ -236,6 +245,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.37 2005/09/06 19:07:00 glen
+- migration triggers
+
Revision 1.36 2005/09/06 18:39:54 qboosh
- pl for browser-plugin-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/djvulibre.spec?r1=1.36&r2=1.37&f=u
More information about the pld-cvs-commit
mailing list