[baobab] Use pkgconfig for BuildRequires

David King amigadave at fedoraproject.org
Wed Feb 18 14:04:41 UTC 2015


commit c3ea6d4bd9622b4cfe751495480f493983bb3267
Author: David King <amigadave at amigadave.com>
Date:   Wed Feb 18 13:57:27 2015 +0000

    Use pkgconfig for BuildRequires
    
    Additionally, drop some obsolete BuildRequires.
    
    https://fedoraproject.org/wiki/Packaging:PkgConfigBuildRequires

 baobab.spec |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/baobab.spec b/baobab.spec
index 355a88e..20807bf 100644
--- a/baobab.spec
+++ b/baobab.spec
@@ -10,10 +10,7 @@ License:        GPLv2+ and GFDL
 URL:            https://live.gnome.org/Baobab
 Source0:        https://download.gnome.org/sources/baobab/3.15/%{name}-%{version}.tar.xz
 
-BuildRequires:  chrpath
-BuildRequires:  gobject-introspection-devel
-BuildRequires:  gtk3-devel >= %{gtk3_version}
-BuildRequires:  libgtop2-devel
+BuildRequires:  pkgconfig(gtk+-3.0) >= %{gtk3_version}
 BuildRequires:  intltool
 BuildRequires:  desktop-file-utils
 BuildRequires:  itstool
@@ -43,8 +40,6 @@ make %{?_smp_mflags}
 %install
 make install DESTDIR=$RPM_BUILD_ROOT
 
-chrpath --delete $RPM_BUILD_ROOT%{_bindir}/baobab
-
 %find_lang %{name} --with-gnome
 
 
@@ -91,6 +86,7 @@ done
 * Wed Feb 18 2015 David King <amigadave at amigadave.com> - 3.15.90-1
 - Update to 3.15.90
 - Use license macro for COPYING and COPYING.docs
+- Use pkgconfig for BuildRequires
 
 * Tue Oct 14 2014 Kalev Lember <kalevlember at gmail.com> - 3.14.1-1
 - Update to 3.14.1


More information about the scm-commits mailing list