The package rpms/rust-proc-maps.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-proc-maps.git/commit/?id=38c....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 158a7c3075879e96ec159bd98c4d1bf04c98bbce
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon Jul 4 19:33:58 2022 +0200
Update to version 0.2.1; Fixes RHBZ#2103748
diff --git a/.gitignore b/.gitignore
index 8855a35..739ea82 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/proc-maps-0.1.9.crate
/proc-maps-0.2.0.crate
+/proc-maps-0.2.1.crate
diff --git a/proc-maps-fix-metadata.diff b/proc-maps-fix-metadata.diff
index 9d211d9..de80c77 100644
--- a/proc-maps-fix-metadata.diff
+++ b/proc-maps-fix-metadata.diff
@@ -1,19 +1,28 @@
---- proc-maps-0.2.0/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ proc-maps-0.2.0/Cargo.toml 2021-11-18T18:15:46.337101+00:00
-@@ -19,16 +19,3 @@
+--- proc-maps-0.2.1/Cargo.toml 1970-01-01T00:00:01+00:00
++++ proc-maps-0.2.1/Cargo.toml 2022-07-04T17:30:16.459598+00:00
+@@ -17,23 +17,10 @@
+ homepage = "https://github.com/rbspy/proc-maps"
+ license = "MIT"
repository = "https://github.com/rbspy/proc-maps"
++
[dependencies.libc]
version = "0.2.54"
+
+ [features]
+ default = ["generate-bindings"]
+-generate-bindings = ["bindgen"]
-[target."cfg(target_os=\"freebsd\")".build-dependencies.bindgen]
-version = "0.59.1"
+-optional = true
-[target."cfg(target_os=\"macos\")".dependencies.anyhow]
-version = "1.0.40"
-
-[target."cfg(target_os=\"macos\")".dependencies.libproc]
-version = "0.10.0"
-
--[target."cfg(target_os=\"macos\")".dependencies.mach]
--version = "0.3.2"
+-[target."cfg(target_os=\"macos\")".dependencies.mach2]
+-version = "0.4.0"
-[target."cfg(windows)".dependencies.winapi]
-version = "0.3"
-features = ["tlhelp32", "processthreadsapi", "handleapi",
"impl-default", "dbghelp"]
++generate-bindings = []
diff --git a/rust-proc-maps.spec b/rust-proc-maps.spec
index 6b99e49..ae35117 100644
--- a/rust-proc-maps.spec
+++ b/rust-proc-maps.spec
@@ -1,11 +1,14 @@
-# Generated by rust2rpm 18
+# Generated by rust2rpm 21
%bcond_without check
%global debug_package %{nil}
+# don't ship a binary that is only used by unit tests
+%global __cargo_is_bin() false
+
%global crate proc-maps
Name: rust-%{crate}
-Version: 0.2.0
+Version: 0.2.1
Release: %autorelease
Summary: Helper crate for getting virtual memory maps from processes
@@ -14,15 +17,12 @@ License: MIT
URL:
https://crates.io/crates/proc-maps
Source: %{crates_source}
# Initial patched metadata
-# Drop non-Linux dependencies
+# * drop non-linux dependencies
Patch0: proc-maps-fix-metadata.diff
ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
Helper crate for getting virtual memory maps from processes.}
@@ -35,13 +35,15 @@ 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 CODE_OF_CONDUCT.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/License.md
+%doc %{crate_instdir}/CODE_OF_CONDUCT.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+%exclude %{crate_instdir}/{ci/,setup.cfg}
%package -n %{name}+default-devel
Summary: %{summary}
@@ -49,11 +51,23 @@ 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
+
+%package -n %{name}+generate-bindings-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+generate-bindings-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "generate-bindings" feature of the "%{crate}" crate.
+
+%files -n %{name}+generate-bindings-devel
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
diff --git a/sources b/sources
index 1415876..985c16e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (proc-maps-0.2.0.crate) =
d412fe2364704b79ddb1a99930163e3bbf13591da24a72081e876da0c9f5c5e6956a7ffb88fdfc187ec6204876077d4bbae5b3468a613a12b7a86b8b45b18391
+SHA512 (proc-maps-0.2.1.crate) =
b2d942062f96726fa5f6995bdca15f10ae7bca5ad03184d47d0664fa8e25314e4178121cc45630e555f590d08a82c64bc64c5ea66b8e7f40c3bc1a7a15468cbd
commit e7f876c43584363cdbdcab39d2698e0e2a5233e5
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jan 21 22:26:31 2022 +0000
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
commit 38c255e9fbb9262e180548158c51466ddbcfde2d
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Thu Nov 18 10:15:13 2021 -0800
Initial import; Fixes: RHBZ#2021597
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..8855a35
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/proc-maps-0.1.9.crate
+/proc-maps-0.2.0.crate
diff --git a/proc-maps-fix-metadata.diff b/proc-maps-fix-metadata.diff
new file mode 100644
index 0000000..9d211d9
--- /dev/null
+++ b/proc-maps-fix-metadata.diff
@@ -0,0 +1,19 @@
+--- proc-maps-0.2.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ proc-maps-0.2.0/Cargo.toml 2021-11-18T18:15:46.337101+00:00
+@@ -19,16 +19,3 @@
+ repository = "https://github.com/rbspy/proc-maps"
+ [dependencies.libc]
+ version = "0.2.54"
+-[target."cfg(target_os=\"freebsd\")".build-dependencies.bindgen]
+-version = "0.59.1"
+-[target."cfg(target_os=\"macos\")".dependencies.anyhow]
+-version = "1.0.40"
+-
+-[target."cfg(target_os=\"macos\")".dependencies.libproc]
+-version = "0.10.0"
+-
+-[target."cfg(target_os=\"macos\")".dependencies.mach]
+-version = "0.3.2"
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.3"
+-features = ["tlhelp32", "processthreadsapi", "handleapi",
"impl-default", "dbghelp"]
diff --git a/rust-proc-maps.spec b/rust-proc-maps.spec
new file mode 100644
index 0000000..6b99e49
--- /dev/null
+++ b/rust-proc-maps.spec
@@ -0,0 +1,77 @@
+# Generated by rust2rpm 18
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate proc-maps
+
+Name: rust-%{crate}
+Version: 0.2.0
+Release: %autorelease
+Summary: Helper crate for getting virtual memory maps from processes
+
+# Upstream license specification: MIT
+License: MIT
+URL:
https://crates.io/crates/proc-maps
+Source: %{crates_source}
+# Initial patched metadata
+# Drop non-Linux dependencies
+Patch0: proc-maps-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Helper crate for getting virtual memory maps from processes.}
+
+%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.md
+%doc examples README.md CODE_OF_CONDUCT.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..1415876
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (proc-maps-0.2.0.crate) =
d412fe2364704b79ddb1a99930163e3bbf13591da24a72081e876da0c9f5c5e6956a7ffb88fdfc187ec6204876077d4bbae5b3468a613a12b7a86b8b45b18391