Add missing pkgconfig() Provides for virtual .pc files defined in pkgconf

This commit is contained in:
Neal Gompa 2017-01-14 08:27:38 -05:00
parent 2304ba1103
commit 79ebdfd98e

View File

@ -7,7 +7,7 @@
Name: pkgconf
Version: 1.1.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Package compiler and linker metadata toolkit
License: ISC
@ -28,6 +28,9 @@ BuildRequires: atf-tests
# pkgconf uses libpkgconf internally
Requires: lib%{name}%{?_isa} = %{version}-%{release}
# This is defined within pkgconf code as a virtual pc (just like in pkgconfig)
Provides: pkgconfig(pkgconf) = %{version}
%description
pkgconf is a program which helps to configure compiler and linker flags
for development frameworks. It is similar to pkg-config from freedesktop.org
@ -66,6 +69,8 @@ Summary: %{name} shim to provide /usr/bin/pkg-config
Conflicts: pkgconfig < 1:%{pkgconfig_ver}.1
Provides: pkgconfig = 1:%{pkgconfig_ver}.1
Provides: pkgconfig%{?_isa} = 1:%{pkgconfig_ver}.1
# This is in the original pkgconfig package, set to match output from pkgconf
Provides: pkgconfig(pkg-config) = %{version}
# Generic pkg-config Provides for those who might use alternate package name
Provides: pkg-config = %{pkgconfig_ver}.1
Provides: pkg-config%{?_isa} = %{pkgconfig_ver}.1
@ -153,6 +158,9 @@ rm -rf %{buildroot}%{_datadir}/aclocal
%endif
%changelog
* Sat Jan 14 2017 Neal Gompa <ngompa13@gmail.com> - 1.1.1-3
- Add missing pkgconfig() Provides for virtual .pc files defined in pkgconf
* Fri Jan 13 2017 Neal Gompa <ngompa13@gmail.com> - 1.1.1-2
- Add missing Epoch to pkgconfig Provides/Conflicts for pkgconf-pkg-config
- Add copy of pkgconf.1 as pkg-config.1 in pkgconf-pkg-config