The package rpms/rust-read-process-memory.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-read-process-memory.git/comm....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit c6f577e153f1fa87b17dd0f1dc186c27cf4b9929
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Fri Jul 22 14:34:54 2022 +0200
Update to version 0.1.4
diff --git a/.gitignore b/.gitignore
index 7c274ee..67d7857 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/read-process-memory-0.1.3.crate
+/read-process-memory-0.1.4.crate
diff --git a/read-process-memory-fix-metadata.diff
b/read-process-memory-fix-metadata.diff
index 63be832..173afdc 100644
--- a/read-process-memory-fix-metadata.diff
+++ b/read-process-memory-fix-metadata.diff
@@ -1,13 +1,18 @@
---- read-process-memory-0.1.3/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ read-process-memory-0.1.3/Cargo.toml 2021-11-05T15:28:36.000538+00:00
-@@ -24,10 +24,3 @@
- version = "0.4.6"
- [dev-dependencies.docmatic]
- version = "0.1"
+--- read-process-memory-0.1.4/Cargo.toml 1970-01-01T00:00:01+00:00
++++ read-process-memory-0.1.4/Cargo.toml 2022-07-22T12:31:44.551904+00:00
+@@ -20,13 +20,10 @@
+ license = "MIT"
+ repository = "https://github.com/rbspy/read-process-memory"
+ resolver = "2"
++autobins = false
++
+ [dependencies.libc]
+ version = "0.2"
+
+ [dependencies.log]
+ version = "0.4"
-[target."cfg(target_os=\"macos\")".dependencies.mach]
--version = "0.0.5"
--[target."cfg(windows)".dependencies.kernel32-sys]
--version = "0.2"
--
+-version = "0.3.2"
-[target."cfg(windows)".dependencies.winapi]
--version = "0.2"
+-version = "0.3"
+-features = ["std", "basetsd", "minwindef",
"handleapi", "memoryapi", "processthreadsapi",
"winnt"]
diff --git a/rust-read-process-memory.spec b/rust-read-process-memory.spec
index b7b6dbf..72870e6 100644
--- a/rust-read-process-memory.spec
+++ b/rust-read-process-memory.spec
@@ -1,10 +1,11 @@
-# Generated by rust2rpm 18
+# Generated by rust2rpm 21
%bcond_without check
+%global debug_package %{nil}
%global crate read-process-memory
Name: rust-%{crate}
-Version: 0.1.3
+Version: 0.1.4
Release: %autorelease
Summary: Read memory from another process
@@ -13,45 +14,32 @@ License: MIT
URL:
https://crates.io/crates/read-process-memory
Source: %{crates_source}
# Initial patched metadata
-# Drop non-Linux dependencies
+# * drop non-linux dependencies
+# * drop build of a test binary
Patch0: read-process-memory-fix-metadata.diff
ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Read memory from another process.}
%description %{_description}
-%if ! %{__cargo_skip_build}
-%package -n %{crate}
-Summary: %{summary}
-
-%description -n %{crate} %{_description}
-
-%files -n %{crate}
-%doc examples README.md License.md
-%{_bindir}/test
-%endif
-
%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.md
-%doc examples README.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/License.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -59,11 +47,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
@@ -80,7 +68,9 @@ which use "default" feature of "%{crate}" crate.
%if %{with check}
%check
-%cargo_test
+# * skip tests that rely on executing the dropped test binary
+# * skip doctest that fails with an "Uncategorized" IO Error on armv7hl
+%cargo_test -- -- --skip test::test_read_large --skip test::test_read_small --skip
readme
%endif
%changelog
diff --git a/sources b/sources
index 0ed1319..36c666a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (read-process-memory-0.1.3.crate) =
d7ea0e7415726025181a454701db70e0dfc1ca817a275534e58099f0fc242bae5573c54de5dc7f05fb85fdf0435092560d183cba916c5650c2954754d22c40c0
+SHA512 (read-process-memory-0.1.4.crate) =
7f7d9a3b6480d3463e5d6da93ffbb4de2c0788f58186d277078a967cb6002255b4978e651606de8e72a4b9ed9d434d4717c0bd5353a581c67bb9a29abe7f605e
commit 391507e3c6a29daa87184883a87bda6773b5ec35
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jul 23 06:11:49 2022 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit 02b8a22318dd8fba9f5892eec94e96190365d1ac
Author: Zbigniew Jędrzejewski-Szmek <zbyszek(a)in.waw.pl>
Date: Tue Feb 15 16:31:42 2022 +0100
Rebuild with package notes
commit 92cb0dedd03fce5ddeee587488ab18fd6f23ef7f
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 21 22:42:57 2022 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit 3c5c514ad82ca527f24c23daaf69c4a21e32f714
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Thu Nov 18 10:12:54 2021 -0800
Initial import; Fixes: RHBZ#2020676
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..7c274ee
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/read-process-memory-0.1.3.crate
diff --git a/read-process-memory-fix-metadata.diff
b/read-process-memory-fix-metadata.diff
new file mode 100644
index 0000000..63be832
--- /dev/null
+++ b/read-process-memory-fix-metadata.diff
@@ -0,0 +1,13 @@
+--- read-process-memory-0.1.3/Cargo.toml 1970-01-01T00:00:01+00:00
++++ read-process-memory-0.1.3/Cargo.toml 2021-11-05T15:28:36.000538+00:00
+@@ -24,10 +24,3 @@
+ version = "0.4.6"
+ [dev-dependencies.docmatic]
+ version = "0.1"
+-[target."cfg(target_os=\"macos\")".dependencies.mach]
+-version = "0.0.5"
+-[target."cfg(windows)".dependencies.kernel32-sys]
+-version = "0.2"
+-
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.2"
diff --git a/rust-read-process-memory.spec b/rust-read-process-memory.spec
new file mode 100644
index 0000000..b7b6dbf
--- /dev/null
+++ b/rust-read-process-memory.spec
@@ -0,0 +1,87 @@
+# Generated by rust2rpm 18
+%bcond_without check
+
+%global crate read-process-memory
+
+Name: rust-%{crate}
+Version: 0.1.3
+Release: %autorelease
+Summary: Read memory from another process
+
+# Upstream license specification: MIT
+License: MIT
+URL:
https://crates.io/crates/read-process-memory
+Source: %{crates_source}
+# Initial patched metadata
+# Drop non-Linux dependencies
+Patch0: read-process-memory-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Read memory from another process.}
+
+%description %{_description}
+
+%if ! %{__cargo_skip_build}
+%package -n %{crate}
+Summary: %{summary}
+
+%description -n %{crate} %{_description}
+
+%files -n %{crate}
+%doc examples README.md License.md
+%{_bindir}/test
+%endif
+
+%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.md
+%doc examples 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
+
+%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
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..0ed1319
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (read-process-memory-0.1.3.crate) =
d7ea0e7415726025181a454701db70e0dfc1ca817a275534e58099f0fc242bae5573c54de5dc7f05fb85fdf0435092560d183cba916c5650c2954754d22c40c0