templates/library: Add requirements for pkgconfig

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
Davide Madrisan 2012-01-28 21:19:13 +01:00
parent febe47c6c5
commit 7a0c30d7ad
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,12 @@
Changes in version 1.9.2
...
+ improvement
* templates/library - Davide Madrisan:
Add requirements for pkgconfig.
--------------------------------------------------------------------------------
Changes in version 1.9.1
Wed Jan 25 2012 Davide Madrisan <davide.madrisan(a)gmail.com>

View File

@ -54,6 +54,8 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
@else:pck_library
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
@fi:pck_library
## note: you can add this requirement if .pc files are provided by this package
#Requires: pkgconfig
@if:pck_library
%description -n lib%{name}-devel