]> git.pld-linux.org Git - packages/djvulibre.git/commitdiff
- migration triggers auto/ac/djvulibre-3_5_15-2
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 6 Sep 2005 19:07:00 +0000 (19:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    djvulibre.spec -> 1.37

djvulibre.spec

index 7fc7fa9f9a2ce7968242d94f7f55928370689b10..f224a9fa348e7ada81bdfb3dfb21061c56620fa1 100644 (file)
@@ -21,6 +21,7 @@ BuildRequires:        autoconf >= 2.50
 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)
@@ -182,6 +183,14 @@ rm -rf $RPM_BUILD_ROOT
 %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/*
This page took 0.076356 seconds and 4 git commands to generate.