Minor spec file cleanups

Use make_install macro, don't define unused Group tag.
This commit is contained in:
Kalev Lember 2016-07-25 08:50:58 +02:00
parent fd73152fd6
commit 36e3e0b773

View File

@ -9,7 +9,6 @@ Release: 2%{?dist}
URL: http://cairographics.org
Source0: http://cairographics.org/releases/%{name}-%{version}.tar.xz
License: LGPLv2 or MPLv1.1
Group: System Environment/Libraries
# Backported from upstream
Patch0: 0001-xlib-Fix-double-free-in-_get_image_surface.patch
@ -41,7 +40,6 @@ through the X Render Extension or OpenGL).
%package devel
Summary: Development files for cairo
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
@ -53,7 +51,6 @@ needed for developing software which uses the cairo graphics library.
%package gobject
Summary: GObject bindings for cairo
Group: System Environment/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description gobject
@ -65,7 +62,6 @@ integrate well with the GObject object system used by GNOME.
%package gobject-devel
Summary: Development files for cairo-gobject
Group: Development/Libraries
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
Requires: %{name}-gobject%{?_isa} = %{version}-%{release}
@ -78,7 +74,6 @@ needed for developing software which uses the cairo Gobject library.
%package tools
Summary: Development tools for cairo
Group: Development/Tools
%description tools
Cairo is a 2D graphics library designed to provide high-quality display
@ -108,7 +103,7 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make V=1 %{?_smp_mflags}
%install
make install V=1 DESTDIR=$RPM_BUILD_ROOT
%make_install
rm $RPM_BUILD_ROOT%{_libdir}/*.la
%post -p /sbin/ldconfig
@ -177,6 +172,7 @@ rm $RPM_BUILD_ROOT%{_libdir}/*.la
%changelog
* Mon Jul 25 2016 Kalev Lember <klember@redhat.com> - 1.14.6-2
- xlib: Fix double free in _get_image_surface() (#1331021)
- Minor spec file cleanups
* Mon Apr 04 2016 Kalev Lember <klember@redhat.com> - 1.14.6-1
- Update to 1.14.6