diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8717f5a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/pkg-config-0.3.28.crate diff --git a/.rust-pkg-config.metadata b/.rust-pkg-config.metadata index e69de29..b1fb97b 100644 --- a/.rust-pkg-config.metadata +++ b/.rust-pkg-config.metadata @@ -0,0 +1 @@ +ef2beda7fc2eebc6a5c5c62361bef7e83963d679 SOURCES/pkg-config-0.3.28.crate diff --git a/SOURCES/pkg-config-0.3.27.crate b/SOURCES/pkg-config-0.3.27.crate deleted file mode 100644 index 9e3ffae..0000000 Binary files a/SOURCES/pkg-config-0.3.27.crate and /dev/null differ diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..2faf459 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,7 @@ +[package] +summary = "Library to run the pkg-config system tool" + +[requires] +build = ["/usr/bin/pkg-config"] +lib = ["/usr/bin/pkg-config"] + diff --git a/SPECS/rust-pkg-config.spec b/SPECS/rust-pkg-config.spec index 0ddf47c..6bb7aaf 100644 --- a/SPECS/rust-pkg-config.spec +++ b/SPECS/rust-pkg-config.spec @@ -8,14 +8,14 @@ }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate pkg-config Name: rust-pkg-config -Version: 0.3.27 +Version: 0.3.28 Release: %autorelease Summary: Library to run the pkg-config system tool @@ -23,7 +23,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/pkg-config Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A library to run the pkg-config system tool at build time in order to be @@ -61,7 +61,7 @@ use the "default" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires @@ -76,11 +76,13 @@ echo '/usr/bin/pkg-config' %if %{with check} %check -# * skip a test that fails with latest versions of pkgconf -%cargo_test -- -- --exact --skip escapes +%cargo_test %endif %changelog +* Thu Dec 21 2023 Fabio Valentini - 0.3.28-1 +- Update to version 0.3.28; Fixes RHBZ#2255417 + * Mon Nov 20 2023 Arkady L. Shane - 0.3.27-1 - Rebuilt for MSVSphere 9.2