packages: evince-gtk/evince-gtk.spec - remove empty %preun

glen glen at pld-linux.org
Thu Feb 3 00:33:35 CET 2011


Author: glen                         Date: Wed Feb  2 23:33:35 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- remove empty %preun

---- Files affected:
packages/evince-gtk:
   evince-gtk.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: packages/evince-gtk/evince-gtk.spec
diff -u packages/evince-gtk/evince-gtk.spec:1.16 packages/evince-gtk/evince-gtk.spec:1.17
--- packages/evince-gtk/evince-gtk.spec:1.16	Tue Dec 28 11:28:42 2010
+++ packages/evince-gtk/evince-gtk.spec	Thu Feb  3 00:33:30 2011
@@ -5,16 +5,16 @@
 # Conditional build:
 %bcond_without	dbus		# disable DBUS support
 %bcond_without	apidocs		# disable gtk-doc
-#
-%define		_realname	evince
+
+%define		realname	evince
 Summary:	Document viewer for multiple document formats -- the no libgnome version
 Summary(pl.UTF-8):	Przeglądarka dokumentów w wielu formatach -- wersja nie wykorzystująca libgnome
 Name:		evince-gtk
 Version:	2.32.0
-Release:	2
+Release:	3
 License:	GPL v2+
 Group:		X11/Applications/Graphics
-Source0:	http://ftp.gnome.org/pub/GNOME/sources/evince/2.32/%{_realname}-%{version}.tar.bz2
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/evince/2.32/%{realname}-%{version}.tar.bz2
 # Source0-md5:	ebc3ce6df8dcbf29cb9492f8dd031319
 URL:		http://www.gnome.org/projects/evince/
 BuildRequires:	GConf2-devel
@@ -51,6 +51,7 @@
 Requires(post,postun):	desktop-file-utils
 Requires(post,postun):	gtk+2 >= 2:2.10.6
 Requires(post,postun):	scrollkeeper
+Requires(post,postun):	/sbin/ldconfig
 Requires:	cairo >= 1.2.4
 Requires:	djvulibre >= 3.5.17
 Requires:	gtk+2 >= 2:2.22.0
@@ -106,7 +107,7 @@
 Ta wersja nie korzysta z bibliotek GNOME, a jedynie z GTK+.
 
 %prep
-%setup -q -n %{_realname}-%{version}
+%setup -q -n %{realname}-%{version}
 
 %build
 %{__intltoolize}
@@ -148,7 +149,7 @@
 # unsupported
 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/en at shaw
 
-%find_lang %{_realname}
+%find_lang %{realname}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -159,15 +160,13 @@
 %scrollkeeper_update_post
 %update_icon_cache hicolor
 
-%preun
-
 %postun
 /sbin/ldconfig
 %update_desktop_database_postun
 %scrollkeeper_update_postun
 %update_icon_cache hicolor
 
-%files -f %{_realname}.lang
+%files -f %{realname}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
 %attr(755,root,root) %{_bindir}/evince
@@ -197,7 +196,7 @@
 %attr(755,root,root) %{backendsdir}/libtiffdocument.so
 %{backendsdir}/tiffdocument.evince-backend
 %{_mandir}/man1/*
-%{_datadir}/%{_realname}
+%{_datadir}/%{realname}
 %{_desktopdir}/*.desktop
 %{_iconsdir}/*/*/*/*
 %{_omf_dest_dir}/evince
@@ -224,6 +223,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2011/02/02 23:33:30  glen
+- remove empty %preun
+
 Revision 1.16  2010/12/28 10:28:42  lisu
 - rel 2 (new poppler)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/evince-gtk/evince-gtk.spec?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list