Move ldconfig calls from main package to -extensions.
This commit is contained in:
parent
3e3abd3e16
commit
eb2a310047
@ -10,7 +10,7 @@
|
|||||||
Name: nautilus
|
Name: nautilus
|
||||||
Summary: File manager for GNOME
|
Summary: File manager for GNOME
|
||||||
Version: 3.5.3
|
Version: 3.5.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: User Interface/Desktops
|
Group: User Interface/Desktops
|
||||||
Source: http://download.gnome.org/sources/%{name}/3.5/%{name}-%{version}.tar.xz
|
Source: http://download.gnome.org/sources/%{name}/3.5/%{name}-%{version}.tar.xz
|
||||||
@ -116,12 +116,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.la
|
|||||||
%find_lang %name
|
%find_lang %name
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
|
||||||
%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null
|
%{_bindir}/update-mime-database %{_datadir}/mime &> /dev/null
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig
|
|
||||||
|
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
||||||
@ -132,6 +129,10 @@ fi
|
|||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
|
||||||
|
|
||||||
|
%post extensions -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun extensions -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%doc AUTHORS COPYING COPYING-DOCS COPYING.LIB NEWS README
|
%doc AUTHORS COPYING COPYING-DOCS COPYING.LIB NEWS README
|
||||||
%{_datadir}/nautilus
|
%{_datadir}/nautilus
|
||||||
@ -164,6 +165,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
|
|||||||
%doc %{_datadir}/gtk-doc/html/libnautilus-extension/*
|
%doc %{_datadir}/gtk-doc/html/libnautilus-extension/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Jul 14 2012 Ville Skyttä <ville.skytta@iki.fi> - 3.5.3-2
|
||||||
|
- Move ldconfig calls from main package to -extensions.
|
||||||
|
|
||||||
* Tue Jun 26 2012 Richard Hughes <hughsient@gmail.com> - 3.5.3-1
|
* Tue Jun 26 2012 Richard Hughes <hughsient@gmail.com> - 3.5.3-1
|
||||||
- Update to 3.5.3
|
- Update to 3.5.3
|
||||||
|
|
||||||
@ -1644,7 +1648,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
|
|||||||
* Tue Apr 17 2001 Gregory Leblanc <gleblanc@grego1.cu-portland.edu>
|
* Tue Apr 17 2001 Gregory Leblanc <gleblanc@grego1.cu-portland.edu>
|
||||||
- Added BuildRequires lines
|
- Added BuildRequires lines
|
||||||
- Changed Source to point to ftp.gnome.org instead of just the tarball name
|
- Changed Source to point to ftp.gnome.org instead of just the tarball name
|
||||||
- Moved %%description sections closer to their %package sections
|
- Moved %%description sections closer to their %%package sections
|
||||||
- Moved %%changelog to the end, where so that it's not in the way
|
- Moved %%changelog to the end, where so that it's not in the way
|
||||||
- Changed configure and make install options to allow moving of
|
- Changed configure and make install options to allow moving of
|
||||||
libraries, includes, binaries more easily
|
libraries, includes, binaries more easily
|
||||||
|
Loading…
Reference in New Issue
Block a user