diff --git a/.gitignore b/.gitignore index fa90108..dd18a71 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /extprim-1.5.1.crate /extprim-1.6.0.crate /extprim-1.7.0.crate +/extprim-1.7.1.crate diff --git a/rust-extprim.spec b/rust-extprim.spec index 15a801b..ca05750 100644 --- a/rust-extprim.spec +++ b/rust-extprim.spec @@ -1,12 +1,13 @@ -# Generated by rust2rpm +# Generated by rust2rpm 15 +# * extprim_literals is not packaged %bcond_with check %global debug_package %{nil} %global crate extprim Name: rust-%{crate} -Version: 1.7.0 -Release: 3%{?dist} +Version: 1.7.1 +Release: 1%{?dist} Summary: Extra primitive types (u128, i128) # Upstream license specification: MIT/Apache-2.0 @@ -15,20 +16,14 @@ URL: https://crates.io/crates/extprim Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(num-traits/default) >= 0.2.0 with crate(num-traits/default) < 0.3.0) -BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0) -BuildRequires: (crate(rustc_version/default) >= 0.2.0 with crate(rustc_version/default) < 0.3.0) -BuildRequires: (crate(semver/default) >= 0.9.0 with crate(semver/default) < 0.10.0) -BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0) -BuildRequires: (crate(serde/derive) >= 1.0.0 with crate(serde/derive) < 2.0.0) -%if %{with check} -BuildRequires: (crate(extprim_literals/default) >= 2.0.0 with crate(extprim_literals/default) < 3.0.0) -%endif -%global _description \ -Extra primitive types (u128, i128). +%global _description %{expand: +Extra primitive types (u128, i128).} %description %{_description} @@ -44,7 +39,7 @@ which use "%{crate}" crate. %files devel %license LICENSE-MIT.txt LICENSE-APACHE.txt %doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -56,7 +51,7 @@ This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+rand-devel Summary: %{summary} @@ -68,7 +63,7 @@ This package contains library source intended for building other packages which use "rand" feature of "%{crate}" crate. %files -n %{name}+rand-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} @@ -80,7 +75,7 @@ This package contains library source intended for building other packages which use "serde" feature of "%{crate}" crate. %files -n %{name}+serde-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+use-std-devel Summary: %{summary} @@ -92,12 +87,15 @@ This package contains library source intended for building other packages which use "use-std" feature of "%{crate}" crate. %files -n %{name}+use-std-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -110,6 +108,9 @@ which use "use-std" feature of "%{crate}" crate. %endif %changelog +* Sun May 31 10:15:10 CEST 2020 Igor Raits - 1.7.1-1 +- Update to 1.7.1 + * Thu Jan 30 2020 Fedora Release Engineering - 1.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index b46131e..7144c44 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (extprim-1.7.0.crate) = ea39eac90f4a8c6c84bb7e328c114179bc363c4e186a5112de48c4407fa0765c51ac246c59741c232cfdfbc70a3ce0774182686de08fb4d9b3cd073d2c1041f4 +SHA512 (extprim-1.7.1.crate) = 4ee46ce676b712d5632ea8fdea47ab72832b67a083a34bdc82bb91a672be79583cb14d0b3e7486cc518bcbd8141f04b92f27e185000682815b9e5a2ba661214c