From 2cc369e5be28f8431f53f21cb6d4fb9056f6324167131e93a6ed16f9ec5e405e Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 8 Jan 2015 09:14:08 +0000 Subject: [PATCH] use pkgconfig() for BuildRequires OBS-URL: https://build.opensuse.org/package/show/games/SDL_Pango?expand=0&rev=19 --- SDL_Pango.changes | 5 +++++ SDL_Pango.spec | 9 ++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/SDL_Pango.changes b/SDL_Pango.changes index 0b15507..e88ffdd 100644 --- a/SDL_Pango.changes +++ b/SDL_Pango.changes @@ -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 diff --git a/SDL_Pango.spec b/SDL_Pango.spec index e00547c..ce6f412 100644 --- a/SDL_Pango.spec +++ b/SDL_Pango.spec @@ -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