From 42be602f7665faf51ffa133144dcc3b4b395b807 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mon, 16 Sep 2013 23:17:40 +0200 Subject: [PATCH] Address spec fie issues discovered in mutter-wayland review - Update the description and URL from mutter.doap - Tighten -devel subpackage deps with _isa - Use the %make_install macro to avoid mixed usage of $RPM_BUILD_ROOT and %{buildroot} - Drop 'Requires: pkgconfig' as rpmbuild generates this automatically https://bugzilla.redhat.com/show_bug.cgi?id=1007445 --- mutter.spec | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/mutter.spec b/mutter.spec index a1d4bbb..7f1d523 100644 --- a/mutter.spec +++ b/mutter.spec @@ -1,11 +1,12 @@ Name: mutter Version: 3.9.92 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Window and compositing manager based on Clutter Group: User Interface/Desktops License: GPLv2+ #VCS: git:git://git.gnome.org/mutter +URL: http://www.gnome.org Source0: http://download.gnome.org/sources/%{name}/3.9/%{name}-%{version}.tar.xz BuildRequires: clutter-devel >= 1.13.5 @@ -47,16 +48,15 @@ using the Clutter toolkit with solid window-management logic inherited from the Metacity window manager. While Mutter can be used stand-alone, it is primarily intended to be -used as the display core of a larger system such as gnome-shell or -Moblin. For this reason, Mutter is very extensible via plugins, which -are used both to add fancy visual effects and to rework the window -management behaviors to meet the needs of the environment. +used as the display core of a larger system such as GNOME Shell. For +this reason, Mutter is very extensible via plugins, which are used both +to add fancy visual effects and to rework the window management +behaviors to meet the needs of the environment. %package devel Summary: Development package for %{name} Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: pkgconfig +Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Header files and libraries for developing Mutter plugins. Also includes @@ -85,7 +85,7 @@ done make %{?_smp_mflags} V=1 %install -make install DESTDIR=$RPM_BUILD_ROOT +%make_install #Remove libtool archives. rm -rf %{buildroot}/%{_libdir}/*.la @@ -127,6 +127,11 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %exclude %{_datadir}/gtk-doc %changelog +* Tue Sep 17 2013 Kalev Lember - 3.9.92-2 +- Update the description and URL +- Tighten -devel subpackage deps with _isa +- Use the make_install macro + * Mon Sep 16 2013 Florian Müllner - 3.9.92-1 - Update to 3.9.92