The package rpms/rust-target.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-target.git/commit/?id=a72134....
Change:
+%ifarch x86_64
Thanks.
Full change:
============
commit a721348f305102313a007a5950ff21eca8920cf4
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Sat Jul 2 23:33:54 2022 +0200
Tests are only designed for x86_64, disable tests on other arches
diff --git a/rust-target.spec b/rust-target.spec
index 958bc9d..6ef0342 100644
--- a/rust-target.spec
+++ b/rust-target.spec
@@ -1,5 +1,9 @@
# Generated by rust2rpm 21
+# Tests are specific to x86_64
+# See
https://github.com/casey/target/blob/master/tests/binary.rs
+%ifarch x86_64
%bcond_without check
+%endif
%global crate target
commit 214fd28d91a2cef13cc44ec6c6956dc3b2b3f607
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Sat Jul 2 21:24:03 2022 +0200
Update to 2.0.0
diff --git a/.gitignore b/.gitignore
index 65c43a8..c4146fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/target-1.0.0.crate
+/target-2.0.0.crate
diff --git a/rust-target.spec b/rust-target.spec
index 4f4484c..958bc9d 100644
--- a/rust-target.spec
+++ b/rust-target.spec
@@ -1,11 +1,10 @@
-# Generated by rust2rpm 17
+# Generated by rust2rpm 21
%bcond_without check
-%global debug_package %{nil}
%global crate target
Name: rust-%{crate}
-Version: 1.0.0
+Version: 2.0.0
Release: %autorelease
Summary: Get information on compilation target
@@ -15,30 +14,37 @@ URL:
https://crates.io/crates/target
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Get information on compilation target.}
%description %{_description}
+%package -n %{crate}
+Summary: %{summary}
+
+%description -n %{crate} %{_description}
+
+%files -n %{crate}
+%license LICENSE
+%doc README.md
+%{_bindir}/target
+
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
-%license LICENSE
-%doc README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -46,11 +52,11 @@ 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.
+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 117162c..6fc137a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (target-1.0.0.crate) =
aa4e0f875f8f524664ddb7e17a643da4f3da80c4beea280940c832ba33ea9ed03ca5e1b4bfd1bdd6c0f19f2b0be33d13ac73d07171d75f4717bb5f60c7f2e0d2
+SHA512 (target-2.0.0.crate) =
08261b96ebf3e1b1634764b88f7971735b76de32a97181102e2d96a48f9cdb9f353957f45af050bb5c07329820f5af53bf11c1497ae3c6acb5f397a2e43681ab
commit dbcf46bde48c0c3ec34838878c190e001c3387fb
Author: Robert-André Mauchin <zebob.m(a)gmail.com>
Date: Sat Jul 2 21:21:42 2022 +0200
Convert to rpmautospec
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..0d122e8
--- /dev/null
+++ b/changelog
@@ -0,0 +1,8 @@
+* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.0-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.0-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Sun Jun 20 19:41:18 CEST 2021 Olivier Lemasle <o.lemasle(a)gmail.com> - 1.0.0-1
+- Initial package
diff --git a/rust-target.spec b/rust-target.spec
index b705634..4f4484c 100644
--- a/rust-target.spec
+++ b/rust-target.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 1.0.0
-Release: 3%{?dist}
+Release: %autorelease
Summary: Get information on compilation target
# Upstream license specification: CC0-1.0
@@ -71,11 +71,4 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
-* Fri Jan 21 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.0-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.0-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Sun Jun 20 19:41:18 CEST 2021 Olivier Lemasle <o.lemasle(a)gmail.com> - 1.0.0-1
-- Initial package
+%autochangelog