1
0
forked from pool/SDL_Pango

use pkgconfig() for BuildRequires

OBS-URL: https://build.opensuse.org/package/show/games/SDL_Pango?expand=0&rev=19
This commit is contained in:
Jan Engelhardt 2015-01-08 09:14:08 +00:00 committed by Git OBS Bridge
parent b6e10ec2bd
commit 2cc369e5be
2 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jan 8 09:06:11 UTC 2015 - jengelh@inai.de
- Use pkgconfig() symbols for pulling in BuildRequires
-------------------------------------------------------------------
Thu Jan 30 14:29:07 UTC 2014 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package SDL_Pango
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -30,10 +30,10 @@ Source: %{name}-%{version}.tar.bz2
Source2: baselibs.conf
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
Patch0: %{name}-%{version}-API-adds.patch
BuildRequires: libSDL-devel
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkg-config
BuildRequires: pkgconfig(pango)
BuildRequires: pkgconfig(sdl)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -76,8 +76,7 @@ make %{?_smp_mflags}
make install DESTDIR="%buildroot"
rm -f %{buildroot}%{_libdir}/*.la
%post -n %lname -p /sbin/ldconfig
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname