Accepting request 582857 from GNOME:Factory

spec-cleaner (forwarded request 581349 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/582857
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pixman?expand=0&rev=53
This commit is contained in:
Dominique Leuenberger 2018-03-08 09:49:17 +00:00 committed by Git OBS Bridge
commit f58a4bd449
2 changed files with 11 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 28 16:38:27 UTC 2018 - dimstar@opensuse.org
- Modernize spec-file by calling spec-cleaner
-------------------------------------------------------------------
Fri Apr 15 21:23:20 UTC 2016 - mgorse@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package pixman
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -22,13 +22,12 @@ Release: 0
Summary: Pixel manipulation library
License: MIT
Group: System/Libraries
Url: http://xorg.freedesktop.org/
URL: http://xorg.freedesktop.org/
Source: http://cairographics.org/releases/%{name}-%{version}.tar.gz
Source99: baselibs.conf
# PATCH-FIX-UPSTREAM pixman-private-correct-include.patch zaitor@opensuse.org -- pixman-private: include <float.h> only in C code
Patch0: pixman-private-correct-include.patch
BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Pixman is a pixel manipulation library for X and cairo.
@ -57,7 +56,7 @@ Pixman is a pixel manipulation library for X and cairo.
#
# For now: disable neon on all ARMv6/7
%configure \
%ifarch %arm
%ifarch %{arm}
--disable-arm-iwmmxt \
--disable-arm-neon \
%endif
@ -68,20 +67,18 @@ Pixman is a pixel manipulation library for X and cairo.
make V=1 %{?_smp_mflags}
%install
%makeinstall
%make_install
rm %{buildroot}%{_libdir}/libpixman-1.la
%post -n libpixman-1-0 -p /sbin/ldconfig
%postun -n libpixman-1-0 -p /sbin/ldconfig
%files -n libpixman-1-0
%defattr(-,root,root)
%doc COPYING
%license COPYING
%{_libdir}/libpixman-1.so.*
%files -n libpixman-1-0-devel
%defattr(-,root,root)
%{_includedir}/pixman-1
%{_libdir}/libpixman-1.so
%{_libdir}/pkgconfig/pixman-1.pc