Accepting request 581349 from GNOME:Next

spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/581349
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/pixman?expand=0&rev=95
This commit is contained in:
Dominique Leuenberger 2018-03-05 13:58:51 +00:00 committed by Git OBS Bridge
parent c69a757eaf
commit 3e3a199683
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 Fri Apr 15 21:23:20 UTC 2016 - mgorse@suse.com

View File

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