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
This commit is contained in:
Kalev Lember 2013-09-16 23:17:40 +02:00
parent 26154f6674
commit 42be602f76

View File

@ -1,11 +1,12 @@
Name: mutter Name: mutter
Version: 3.9.92 Version: 3.9.92
Release: 1%{?dist} Release: 2%{?dist}
Summary: Window and compositing manager based on Clutter Summary: Window and compositing manager based on Clutter
Group: User Interface/Desktops Group: User Interface/Desktops
License: GPLv2+ License: GPLv2+
#VCS: git:git://git.gnome.org/mutter #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 Source0: http://download.gnome.org/sources/%{name}/3.9/%{name}-%{version}.tar.xz
BuildRequires: clutter-devel >= 1.13.5 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. from the Metacity window manager.
While Mutter can be used stand-alone, it is primarily intended to be 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 used as the display core of a larger system such as GNOME Shell. For
Moblin. For this reason, Mutter is very extensible via plugins, which this reason, Mutter is very extensible via plugins, which are used both
are used both to add fancy visual effects and to rework the window to add fancy visual effects and to rework the window management
management behaviors to meet the needs of the environment. behaviors to meet the needs of the environment.
%package devel %package devel
Summary: Development package for %{name} Summary: Development package for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
%description devel %description devel
Header files and libraries for developing Mutter plugins. Also includes Header files and libraries for developing Mutter plugins. Also includes
@ -85,7 +85,7 @@ done
make %{?_smp_mflags} V=1 make %{?_smp_mflags} V=1
%install %install
make install DESTDIR=$RPM_BUILD_ROOT %make_install
#Remove libtool archives. #Remove libtool archives.
rm -rf %{buildroot}/%{_libdir}/*.la rm -rf %{buildroot}/%{_libdir}/*.la
@ -127,6 +127,11 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%exclude %{_datadir}/gtk-doc %exclude %{_datadir}/gtk-doc
%changelog %changelog
* Tue Sep 17 2013 Kalev Lember <kalevlember@gmail.com> - 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 <fmuellner@redhat.com> - 3.9.92-1 * Mon Sep 16 2013 Florian Müllner <fmuellner@redhat.com> - 3.9.92-1
- Update to 3.9.92 - Update to 3.9.92