[libgweather/f18] Avoid having runtime dep on gtk-doc and other minor spec file cleanups
Kalev Lember
kalev at fedoraproject.org
Tue Sep 25 19:03:09 UTC 2012
commit 8f7c7cdbb8ba9d945cef5f21c2d44100f1e6d172
Author: Kalev Lember <kalevlember at gmail.com>
Date: Tue Sep 25 20:43:39 2012 +0200
Avoid having runtime dep on gtk-doc and other minor spec file cleanups
libgweather.spec | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/libgweather.spec b/libgweather.spec
index 00186ed..5b4a509 100644
--- a/libgweather.spec
+++ b/libgweather.spec
@@ -9,7 +9,6 @@ URL: http://www.gnome.org
#VCS: git:git://git.gnome.org/libgweather
Source0: http://download.gnome.org/sources/libgweather/3.6/%{name}-%{version}.tar.xz
-BuildRequires: GConf2-devel >= 2.8.0
BuildRequires: dbus-devel
BuildRequires: gtk3-devel >= 2.90.0
BuildRequires: gtk-doc
@@ -36,8 +35,6 @@ Group: Development/Libraries
# gnome-applets-devel only had the libgweather-devel parts in it
Obsoletes: gnome-applets-devel < 1:2.21.4-1
Requires: %{name} = %{version}-%{release}
-Requires: pkgconfig
-Requires: gtk-doc
%description devel
The %{name}-devel package contains libraries and header files for
@@ -61,8 +58,6 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
/sbin/ldconfig
touch --no-create %{_datadir}/icons/gnome &>/dev/null || :
-%preun
-
%postun
/sbin/ldconfig
if [ $1 -eq 0 ]; then
@@ -76,7 +71,6 @@ gtk-update-icon-cache -q %{_datadir}/icons/gnome &>/dev/null || :
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
%files -f %{name}.lang
-%defattr(-,root,root,-)
%doc COPYING
%{_libdir}/libgweather-3.so.*
%{_libdir}/girepository-1.0/GWeather-3.0.typelib
@@ -89,7 +83,6 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
%{_datadir}/glib-2.0/schemas/org.gnome.GWeather.gschema.xml
%files devel
-%defattr(-,root,root,-)
%{_includedir}/libgweather-3.0
%{_libdir}/libgweather-3.so
%{_libdir}/pkgconfig/gweather-3.0.pc
More information about the scm-commits
mailing list