diff --git a/.gitignore b/.gitignore index 4672c01..c901a89 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /pkg-config-0.3.22.crate /pkg-config-0.3.23.crate /pkg-config-0.3.24.crate +/pkg-config-0.3.25.crate diff --git a/rust-pkg-config.spec b/rust-pkg-config.spec index a01331b..1554570 100644 --- a/rust-pkg-config.spec +++ b/rust-pkg-config.spec @@ -1,22 +1,22 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate pkg-config Name: rust-%{crate} -Version: 0.3.24 +Version: 0.3.25 Release: %autorelease Summary: Library to run the pkg-config system tool -# Upstream license specification: MIT/Apache-2.0 +# Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/pkg-config Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Library to run the pkg-config system tool at build time in order to be used in @@ -35,9 +35,11 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc CHANGELOG.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -49,7 +51,7 @@ This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index b1ee3d2..4d70356 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pkg-config-0.3.24.crate) = be22c609b3d5a9a38bab1d30792cff397cc908f1c53fb2da68a9a7d1258e53ef64c1c5b26d840b0ed1d35b307c98ffb499c82e5796e88be0a6ecc0c6f3b5dbfb +SHA512 (pkg-config-0.3.25.crate) = 46658794f0a7446354041c1cc08cf637970f7651c0c506e2b90c9d4e284347cb82f05ce282cc55c8087bed58a5b961424a56574f4500de9f3ba9cb9e71667aa8