The package rpms/rust-rand_jitter.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/rust-rand_jitter.git/commit/?id=9c41....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 4ddc6c338488f64c3dc135a9c2cc6ba9d261f49f Author: Josh Stone jistone@redhat.com Date: Tue Jan 29 09:32:37 2019 -0800
Update to 0.1.1
diff --git a/.gitignore b/.gitignore index a6eaa6d..a1508d7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /rand_jitter-0.1.0.crate +/rand_jitter-0.1.1.crate diff --git a/rust-rand_jitter.spec b/rust-rand_jitter.spec index 3916cc9..0297687 100644 --- a/rust-rand_jitter.spec +++ b/rust-rand_jitter.spec @@ -5,14 +5,14 @@ %global crate rand_jitter
Name: rust-%{crate} -Version: 0.1.0 +Version: 0.1.1 Release: 1%{?dist} Summary: Random number generator based on timing jitter
# Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/rand_jitter -Source0: https://crates.io/api/v1/crates/%%7Bcrate%7D/%%7Bversion%7D/download#/%%7Bcr... +Source: %{crates_source} # Initial patched metadata Patch0: rand_jitter-fix-metadata.diff
@@ -79,7 +79,7 @@ which use "std" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep
%build @@ -94,5 +94,8 @@ which use "std" feature of "%{crate}" crate. %endif
%changelog +* Tue Jan 29 2019 Josh Stone jistone@redhat.com - 0.1.1-1 +- Update to 0.1.1 + * Mon Jan 28 2019 Josh Stone jistone@redhat.com - 0.1.0-1 - Initial package diff --git a/sources b/sources index 3b480d4..3bcb3cd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rand_jitter-0.1.0.crate) = cc853ad20dd98111f6c177ad228df2a93e09996877c166aa3eac9f0461c5dab0017ec6ad148b09b1edd7214c4dbbb4a5c46864323e45d37d577168b75c3c2b5c +SHA512 (rand_jitter-0.1.1.crate) = b1b72536883acfb97cc2797c1a3371a4ff466e454b61ea0a14ef1ecc81b423139d046a3bbac227d83cc71de4b398eef79e037d78a52d8b5c5a4eba1ae3b92c65
commit 9c4114b22216e169105b0d8d9a8d911e4c465d37 Author: Josh Stone jistone@redhat.com Date: Tue Jan 29 09:30:43 2019 -0800
Initial package
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a6eaa6d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/rand_jitter-0.1.0.crate diff --git a/rand_jitter-fix-metadata.diff b/rand_jitter-fix-metadata.diff new file mode 100644 index 0000000..d436c00 --- /dev/null +++ b/rand_jitter-fix-metadata.diff @@ -0,0 +1,14 @@ +--- rand_jitter-0.1.0/Cargo.toml 1969-12-31T16:00:00-08:00 ++++ rand_jitter-0.1.0/Cargo.toml 2019-01-28T14:35:28.479551-08:00 +@@ -29,11 +29,6 @@ + + [features] + std = ["rand_core/std"] +-[target."cfg(any(target_os = "macos", target_os = "ios"))".dependencies.libc] +-version = "0.2" +-[target."cfg(target_os = "windows")".dependencies.winapi] +-version = "0.3" +-features = ["profileapi"] + [badges.appveyor] + repository = "rust-random/rand" + diff --git a/rust-rand_jitter.spec b/rust-rand_jitter.spec new file mode 100644 index 0000000..3916cc9 --- /dev/null +++ b/rust-rand_jitter.spec @@ -0,0 +1,98 @@ +# Generated by rust2rpm +%bcond_without check +%global debug_package %{nil} + +%global crate rand_jitter + +Name: rust-%{crate} +Version: 0.1.0 +Release: 1%{?dist} +Summary: Random number generator based on timing jitter + +# Upstream license specification: MIT/Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/rand_jitter +Source0: https://crates.io/api/v1/crates/%%7Bcrate%7D/%%7Bversion%7D/download#/%%7Bcr... +# Initial patched metadata +Patch0: rand_jitter-fix-metadata.diff + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging +BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0) +BuildRequires: (crate(rand_core/default) >= 0.4.0 with crate(rand_core/default) < 0.5.0) +BuildRequires: (crate(rand_core/std) >= 0.4.0 with crate(rand_core/std) < 0.5.0) + +%global _description \ +Non-physical true random number generator based on timing jitter. + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages +which use "%{crate}" crate. + +%files devel +%license COPYRIGHT LICENSE-APACHE LICENSE-MIT +%doc CHANGELOG.md README.md +%{cargo_registry}/%{crate}-%{version}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +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 + +%package -n %{name}+log-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+log-devel %{_description} + +This package contains library source intended for building other packages +which use "log" feature of "%{crate}" crate. + +%files -n %{name}+log-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages +which use "std" feature of "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Mon Jan 28 2019 Josh Stone jistone@redhat.com - 0.1.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..3b480d4 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (rand_jitter-0.1.0.crate) = cc853ad20dd98111f6c177ad228df2a93e09996877c166aa3eac9f0461c5dab0017ec6ad148b09b1edd7214c4dbbb4a5c46864323e45d37d577168b75c3c2b5c
arch-excludes@lists.fedoraproject.org