From 0684ea75f10244cb0663eadfb2e1538e06d12978 Mon Sep 17 00:00:00 2001 From: Andrey Bondrov Date: Sat, 25 Aug 2012 15:56:34 +0000 Subject: [PATCH] LOG Convert BR to pkgconfig style --- json-glib.spec | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/json-glib.spec b/json-glib.spec index 46d4094..35a9c93 100644 --- a/json-glib.spec +++ b/json-glib.spec @@ -6,16 +6,16 @@ Name: json-glib Version: 0.14.2 -Release: 2 +Release: 3 Summary: Library for JavaScript Object Notation format Group: System/Libraries License: LGPLv2+ URL: http://live.gnome.org/JsonGlib Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.xz -BuildRequires: glib2-devel -BuildRequires: gobject-introspection-devel +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: gtk-doc -Requires: %{libname} = %{version} +Requires: %{libname} = %{version}-%{release} %description %{name} is a library providing serialization and deserialization support @@ -24,8 +24,8 @@ for the JavaScript Object Notation (JSON) format. %package -n %{libname} Summary: Shared libraries for %{name} Group: System/Libraries -Provides: %{name} = %{version} -Provides: lib%%{name} = %{version} +Provides: %{name} = %{version}-%{release} +Provides: lib%%{name} = %{version}-%{release} %description -n %{libname} %{name} is a library providing serialization and deserialization support @@ -36,7 +36,7 @@ for the JavaScript Object Notation (JSON) format. Summary: Development files for %{name} Group: Development/C Provides: lib%{name}-devel = %{version}-%{release} -Requires: %{libname} = %{version} +Requires: %{libname} = %{version}-%{release} %description -n %{develname} The %{develname} package contains libraries and header files for @@ -54,8 +54,6 @@ developing applications that use %{name}. rm -rf %{buildroot} %makeinstall_std -rm -f %{buildroot}/%{_libdir}/*.la - %find_lang %{name}-%{libver} %check