Compare commits

...
Sign in to create a new pull request.

25 commits

Author SHA1 Message Date
Fedora Release Engineering
a6c50c2405 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 05:48:24 +00:00
Fedora Release Engineering
c9f01eb77b Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-20 08:24:07 +00:00
Yaakov Selkowitz
c8bdd675b7 Search /app in flatpak runtime build
While flatpak-rpm-macros uses PKG_CONFIG_PATH to allow the regular
pkg-config build find flatpak-built content in /app during %build,
%install, and %check, this does not help for pkg-config calls in the
global scope.  Rather than change each call to first load the environment
overrides, this will allow a flatpak runtime specific build which will
search both /app and /usr by default.

https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/G2WPISQFQEVJY6ZRJDVUVZIUEQD3L4YZ/
2024-08-07 17:20:05 +00:00
Neal Gompa
375c464fcc Update to 2.3.0
- https://github.com/pkgconf/pkgconf/blob/pkgconf-2.3.0/NEWS
2024-08-07 04:19:21 -04:00
Fedora Release Engineering
47ebf369cc Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-19 07:52:58 +00:00
Jens Petersen
5559cbe164 update to 2.1.1 release (fixes rhbz#2264921) 2024-05-14 18:24:35 +08:00
Miroslav Suchý
924aee55e1 Migrate to SPDX license
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_3
2024-04-11 09:43:18 +02:00
Jens Petersen
95c0bbee80 update to 2.1.0 2024-02-12 23:27:27 +08:00
Fedora Release Engineering
39756f15ce Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 23:35:25 +00:00
Fedora Release Engineering
71d0129117 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 21:48:18 +00:00
Fedora Release Engineering
6b503112b7 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-21 05:39:13 +00:00
Sérgio M. Basto
30ee2e6f48 Update pkgconf to 1.9.5 (#2192963) 2023-05-16 01:17:08 +01:00
Sérgio M. Basto
409e327b4e Rebuild for ATF soname bump 2023-05-16 00:13:45 +01:00
Neal Gompa
930106a935 Track libpkgconf shared object major version
We want to be aware when the ABI breaks rather than accidentally
having it slip through.
2023-02-23 11:56:00 -05:00
Neal Gompa
5d2464c091 Rebase to 1.9.4 2023-02-22 07:48:51 -05:00
Neal Gompa
946ebc268f Drop dependency on system-rpm-config (#2172406) 2023-02-22 07:00:42 -05:00
Fedora Release Engineering
b86ca0ad0a Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 09:45:06 +00:00
Amit Shah
a888a3102a Require system-rpm-config, as that is not installed by default
pkg-config queries the system vendor, host type, etc.  This information
is provided via system-rpm-config (via the redhat-rpm-config) package.
Depend on it to avoid failures.
2022-11-01 19:25:02 +01:00
Fedora Release Engineering
a3c313d276 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 14:52:04 +00:00
Fedora Release Engineering
7bfc67f0f6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 08:57:15 +00:00
Neal Gompa
5640c97a7a Update to 1.8.0 2021-07-25 09:51:14 -04:00
Fedora Release Engineering
74fa3e8483 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 03:32:57 +00:00
Neal Gompa
cb8ca352d3 Allow tests to fail in %check to deal with kyua's flakiness
Unfortunately, kyua has not being working properly lately, and
the test suite has become somewhat flaky as a result.

Until this can be properly resolved, allow the tests to fail.
2021-06-23 08:59:07 -04:00
Sandro Mani
928e1c3a2c Don't prepend sysroot_dir if pkg-config file lies outside of sysroot_dir (#1974883) 2021-06-23 14:05:53 +02:00
Neal Gompa
e0de8e8cba Update to 1.7.4
- Don't add /usr/local to syspaths (#1953348)
2021-04-28 11:32:14 -04:00
4 changed files with 109 additions and 25 deletions

7
.gitignore vendored
View file

@ -27,3 +27,10 @@
/pkgconf-1.6.3.tar.xz
/pkgconf-1.7.0.tar.xz
/pkgconf-1.7.3.tar.xz
/pkgconf-1.7.4.tar.xz
/pkgconf-1.8.0.tar.xz
/pkgconf-1.9.4.tar.xz
/pkgconf-1.9.5.tar.xz
/pkgconf-2.1.0.tar.xz
/pkgconf-2.1.1.tar.xz
/pkgconf-2.3.0.tar.xz

View file

@ -1,9 +1,5 @@
# pkgconf acts as pkgconfig for Fedora and EL8+
%if (0%{?rhel} && 0%{?rhel} <= 7)
%bcond_with pkgconfig_compat
%else
%bcond_without pkgconfig_compat
%endif
# pkgconf acts as pkgconfig
%bcond pkgconfig_compat 1
%if %{with pkgconfig_compat}
%global pkgconfig_ver 0.29.1
@ -13,23 +9,30 @@
%endif
# Tests are disabled on RHEL 9 because of the extensive dependencies
%if 0%{?rhel} >= 9
%bcond_with tests
%else
%bcond_without tests
%endif
%bcond tests %[%{undefined rhel} || 0%{?rhel} < 9]
# Search path for pc files for pkgconf
%if 0%{?flatpak_runtime}
%global pkgconf_libdirs /app/%{_lib}/pkgconfig:/app/share/pkgconfig:/usr/%{_lib}/pkgconfig:/usr/share/pkgconfig
%else
%global pkgconf_libdirs %{_libdir}/pkgconfig:%{_datadir}/pkgconfig
%endif
# libpkgconf soversion major version
%global libsomajor 5
Name: pkgconf
Version: 1.7.3
Release: 7%{?dist}
Version: 2.3.0
Release: 3%{?dist}
Summary: Package compiler and linker metadata toolkit
License: ISC
# cli/getopt_long.c, libpkgconf/bsdstubs.c, libpkgconf/pkg.c and tests/* are ISC
# cli/getopt_long.c is BSD-4-Clause
# cli/getopt_long.h is BSD-2-Clause
# bunch of files are under pkgconf
# libpkgconf/win-dirent.h is MIT
License: ISC AND BSD-4-Clause AND BSD-2-Clause AND pkgconf AND MIT
URL: http://pkgconf.org/
# Mirror at https://releases.pagure.org/pkgconf/pkgconf/
Source0: https://distfiles.dereferenced.org/%{name}/%{name}-%{version}.tar.xz
# Simple wrapper scripts to offer platform versions of pkgconfig
@ -79,7 +82,7 @@ to use functionality provided by %{name}.
%if %{with pkgconfig_compat}
%package m4
Summary: m4 macros for pkgconf
License: GPLv2+ with exceptions
License: GPL-2.0-or-later WITH Autoconf-exception-generic
BuildArch: noarch
# Ensure that it Conflicts and Obsoletes pkgconfig since it contains content formerly from it
Conflicts: pkgconfig < %{pkgconfig_evr}
@ -111,6 +114,14 @@ the system provider of pkg-config.
%endif
%package -n bomtool
Summary: Simple SBOM generator using pc(5) files
Requires: lib%{name}%{?_isa} = %{version}-%{release}
%description -n bomtool
bomtool is a program which helps generate a Software Bill of Materials
manifest using data from installed .pc files.
%prep
%autosetup -p1
@ -127,7 +138,7 @@ autoreconf -fiv
%check
%if %{with tests}
make check
make check || :
%endif
@ -151,8 +162,6 @@ install -pm 0755 %{SOURCE1} %{buildroot}%{_bindir}/%{_target_platform}-pkg-confi
sed -e "s|@TARGET_PLATFORM@|%{_target_platform}|" \
-e "s|@PKGCONF_LIBDIRS_LOCAL@|/usr/local/%{_lib}/pkgconfig:/usr/local/share/pkgconfig:%{pkgconf_libdirs}|" \
-e "s|@PKGCONF_SYSLIBDIR_LOCAL@|/usr/local/%{_lib}:%{_libdir}|" \
-e "s|@PKGCONF_SYSINCDIR_LOCAL@|/usr/local/include:%{_includedir}|" \
-e "s|@PKGCONF_LIBDIRS@|%{pkgconf_libdirs}|" \
-e "s|@PKGCONF_SYSLIBDIR@|%{_libdir}|" \
-e "s|@PKGCONF_SYSINCDIR@|%{_includedir}|" \
@ -192,7 +201,7 @@ rm -rf %{buildroot}%{_datadir}/aclocal
%files -n lib%{name}
%license COPYING
%{_libdir}/lib%{name}*.so.*
%{_libdir}/lib%{name}*.so.%{libsomajor}{,.*}
%files -n lib%{name}-devel
%{_libdir}/lib%{name}*.so
@ -212,7 +221,77 @@ rm -rf %{buildroot}%{_datadir}/aclocal
%dir %{_datadir}/pkgconfig
%endif
%files -n bomtool
%{_bindir}/bomtool
%changelog
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Mon Jan 20 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Wed Aug 07 2024 Neal Gompa <ngompa@fedoraproject.org> - 2.3.0-1
- Update to 2.3.0
+ https://github.com/pkgconf/pkgconf/blob/pkgconf-2.3.0/NEWS
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Tue May 14 2024 Jens Petersen <petersen@redhat.com> - 2.1.1-1
- https://github.com/pkgconf/pkgconf/blob/pkgconf-2.1.1/NEWS
* Mon Feb 12 2024 Jens Petersen <petersen@redhat.com> - 2.1.0-1
- update to 2.1.0
- https://github.com/pkgconf/pkgconf/blob/pkgconf-2.1.0/NEWS
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue May 16 2023 Sérgio Basto <sergio@serjux.com> - 1.9.5-1
- Update pkgconf to 1.9.5 (#2192963)
* Mon May 15 2023 Sérgio Basto <sergio@serjux.com> - 1.9.4-2
- Rebuild for ATF soname bump
* Wed Feb 22 2023 Neal Gompa <ngompa@fedoraproject.org> - 1.9.4-1
- Rebase to 1.9.4
* Wed Feb 22 2023 Neal Gompa <ngompa@fedoraproject.org> - 1.8.0-6
- Drop dependency on system-rpm-config (#2172406)
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Nov 01 2022 Amit Shah <amitshah@fedoraproject.org> - 1.8.0-4
- Depend on system-rpm-config
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Sun Jul 25 2021 Neal Gompa <ngompa@fedoraproject.org> - 1.8.0-1
- Update to 1.8.0
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jun 23 2021 Sandro Mani <manisandro@gmail.com> - 1.7.4-2
- Don't prepend sysroot_dir if pkg-config file lies outside of sysroot_dir (#1974883)
* Wed Apr 28 2021 Neal Gompa <ngompa13@gmail.com> - 1.7.4-1
- Update to 1.7.4
- Don't add /usr/local to syspaths (#1953348)
* Mon Feb 22 2021 Tomas Popela <tpopela@redhat.com> - 1.7.3-7
- Conditionalize the unit tests, disable them on RHEL 9

View file

@ -5,12 +5,10 @@
if [ -z "${RPM_BUILD_ROOT}" ]; then
export PKG_CONFIG_LIBDIR="${PKG_CONFIG_LIBDIR:-@PKGCONF_LIBDIRS_LOCAL@}"
export PKG_CONFIG_SYSTEM_LIBRARY_PATH="${PKG_CONFIG_SYSTEM_LIBRARY_PATH:-@PKGCONF_SYSLIBDIR_LOCAL@}"
export PKG_CONFIG_SYSTEM_INCLUDE_PATH="${PKG_CONFIG_SYSTEM_INCLUDE_PATH:-@PKGCONF_SYSINCDIR_LOCAL@}"
else
export PKG_CONFIG_LIBDIR="${PKG_CONFIG_LIBDIR:-@PKGCONF_LIBDIRS@}"
export PKG_CONFIG_SYSTEM_LIBRARY_PATH="${PKG_CONFIG_SYSTEM_LIBRARY_PATH:-@PKGCONF_SYSLIBDIR@}"
export PKG_CONFIG_SYSTEM_INCLUDE_PATH="${PKG_CONFIG_SYSTEM_INCLUDE_PATH:-@PKGCONF_SYSINCDIR@}"
fi
export PKG_CONFIG_SYSTEM_LIBRARY_PATH="${PKG_CONFIG_SYSTEM_LIBRARY_PATH:-@PKGCONF_SYSLIBDIR@}"
export PKG_CONFIG_SYSTEM_INCLUDE_PATH="${PKG_CONFIG_SYSTEM_INCLUDE_PATH:-@PKGCONF_SYSINCDIR@}"
exec pkgconf "$@"

View file

@ -1 +1 @@
SHA512 (pkgconf-1.7.3.tar.xz) = 37b6c4f9f3b93970e35b6970fde22fbbde65e7fa32a5634b3fdfc25cc1f33843582722ad13d9a8e96fd6768406fcbe86bf5feb76996ddd0bb66d6ff91e65f0b6
SHA512 (pkgconf-2.3.0.tar.xz) = 869fe0a7a2e06e9da37ff672b991dad60a9a7c9df2c65b78b2aa70dba10920650fb946d5a9c8019ea54a510835acc2eb4244092fa36d0339bd6764ff84e8542c