The package rpms/rust-page_size.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-page_size.git/commit/?id=f4e....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit bc4e7e55e75ae4d535e07161b849995d74715b41
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jul 23 15:07:37 2021 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
diff --git a/rust-page_size.spec b/rust-page_size.spec
index 92cc784..bc17787 100644
--- a/rust-page_size.spec
+++ b/rust-page_size.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.4.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Provides an easy, fast, cross-platform way to retrieve the memory page
size
# Upstream license specification: MIT/Apache-2.0
@@ -97,5 +97,8 @@ which use "spin" feature of "%{crate}" crate.
%endif
%changelog
+* Fri Jul 23 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.4.2-2
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
* Thu Jun 17 2021 Davide Cavalca <dcavalca(a)fedoraproject.org> - 0.4.2-1
- Initial package
commit f4ec540ad3c51489cac1c2a5ba95905dfaa42404
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Mon Jun 28 10:26:41 2021 -0700
import #1973479
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..19be465
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/page_size-0.4.2.crate
diff --git a/page_size-fix-metadata.diff b/page_size-fix-metadata.diff
new file mode 100644
index 0000000..63990f7
--- /dev/null
+++ b/page_size-fix-metadata.diff
@@ -0,0 +1,12 @@
+--- page_size-0.4.2/Cargo.toml 1970-01-01T00:00:00+00:00
++++ page_size-0.4.2/Cargo.toml 2021-06-17T17:57:38.471764+00:00
+@@ -30,9 +30,6 @@
+ no_std = ["spin"]
+ [target."cfg(unix)".dependencies.libc]
+ version = "0.2"
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.3.8"
+-features = ["sysinfoapi"]
+ [badges.appveyor]
+ repository = "Elzair/page_size_rs"
+
diff --git a/rust-page_size.spec b/rust-page_size.spec
new file mode 100644
index 0000000..92cc784
--- /dev/null
+++ b/rust-page_size.spec
@@ -0,0 +1,101 @@
+# Generated by rust2rpm 17
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate page_size
+
+Name: rust-%{crate}
+Version: 0.4.2
+Release: 1%{?dist}
+Summary: Provides an easy, fast, cross-platform way to retrieve the memory page
size
+
+# Upstream license specification: MIT/Apache-2.0
+License: MIT or ASL 2.0
+URL:
https://crates.io/crates/page_size
+Source: %{crates_source}
+# Drop winapi dependency
+Patch0: page_size-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Provides an easy, fast, cross-platform way to retrieve the memory page size.}
+
+%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 LICENSE-APACHE LICENSE-MIT
+%doc README.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%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_no_tilde}/Cargo.toml
+
+%package -n %{name}+no_std-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+no_std-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "no_std" feature of "%{crate}" crate.
+
+%files -n %{name}+no_std-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+spin-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+spin-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "spin" feature of "%{crate}" crate.
+
+%files -n %{name}+spin-devel
+%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
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Thu Jun 17 2021 Davide Cavalca <dcavalca(a)fedoraproject.org> - 0.4.2-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..1aaf9a1
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (page_size-0.4.2.crate) =
171f1c4fecec80538a3ef0063c0cf1ebd611d9208a45329d769705db05f71973a140c497164393cac571934c3e2d24ab4caa055365f24cd4785fbd3d4d0f607a