Use pkgconfig for BuildRequires

Additionally, drop some obsolete BuildRequires.

https://fedoraproject.org/wiki/Packaging:PkgConfigBuildRequires
This commit is contained in:
David King 2015-02-18 13:57:27 +00:00
parent bf74a5e548
commit c3ea6d4bd9

View File

@ -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@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@gmail.com> - 3.14.1-1
- Update to 3.14.1