|
|
@ -6,19 +6,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.3.9
|
|
|
|
Version: 0.3.9
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Summary: Library to run the pkg-config system tool
|
|
|
|
Summary: Library to run the pkg-config system tool
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
URL: https://crates.io/crates/pkg-config
|
|
|
|
URL: https://crates.io/crates/pkg-config
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
|
|
|
# * Bump lazy_static to 1, https://github.com/alexcrichton/pkg-config-rs/commit/41b81f57113a1df40e899ed83dc829ab60423f33
|
|
|
|
|
|
|
|
Patch0: pkg-config-0.3.9-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
# [dev-dependencies]
|
|
|
|
# [dev-dependencies]
|
|
|
|
BuildRequires: (crate(lazy_static) >= 0.2.0 with crate(lazy_static) < 0.3.0)
|
|
|
|
BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -57,6 +60,9 @@ which use %{crate} from crates.io.
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Nov 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.9-3
|
|
|
|
|
|
|
|
- Bump lazy_static to 1
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.9-2
|
|
|
|
* Wed Jun 14 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.9-2
|
|
|
|
- Port to use rust-packaging
|
|
|
|
- Port to use rust-packaging
|
|
|
|
|
|
|
|
|
|
|
|