diff --git a/dbus-glib.spec b/dbus-glib.spec index 58a405b..601d3b5 100644 --- a/dbus-glib.spec +++ b/dbus-glib.spec @@ -1,5 +1,3 @@ -%define gettext_package dbus - %global expat_version 1.95.5 %global glib2_version 2.26.0 %global dbus_version 1.2.16 @@ -13,8 +11,6 @@ URL: http://www.freedesktop.org/software/dbus/ Source0: http://dbus.freedesktop.org/releases/dbus-glib/%{name}-%{version}.tar.gz License: AFL and GPLv2+ Group: System Environment/Libraries -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires: chkconfig >= 1.3.26 BuildRequires: pkgconfig(dbus-1) >= %{dbus_version} BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version} BuildRequires: expat-devel >= %{expat_version} @@ -31,7 +27,6 @@ Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Requires: glib2-devel Requires: dbus-devel -Requires: pkgconfig Obsoletes: dbus-devel < 0.90 %description devel @@ -49,27 +44,20 @@ Headers and static libraries for the D-Bus GLib bindings #build with checks for right now but disable checks for final release #%configure --disable-tests --disable-verbose-mode --disable-asserts -make +make %{?_smp_mflags} %install -rm -rf %{buildroot} - make install DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT%{_libdir}/*.a rm -f $RPM_BUILD_ROOT%{_libdir}/*.la -%clean -rm -rf %{buildroot} - %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -%defattr(-,root,root) - %doc NEWS %license COPYING @@ -77,8 +65,6 @@ rm -rf %{buildroot} %{_bindir}/dbus-binding-tool %files devel -%defattr(-,root,root) - %{_libdir}/lib*.so %{_libdir}/pkgconfig/dbus-glib-1.pc %{_includedir}/dbus-1.0/dbus/* @@ -95,6 +81,7 @@ rm -rf %{buildroot} - Remove outdated gtk subpackage - Use license for COPYING - Tighten subpackage dependencies with the isa macro +- Tidy spec file * Sat Aug 16 2014 Fedora Release Engineering - 0.100.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild