The package rpms/rust-remove_dir_all.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-remove_dir_all.git/commit/?id=4....
Change: -ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 8e58a6d18cc6cb1f992eb5507f3a5e038939c220 Author: Fabio Valentini decathorpe@gmail.com Date: Sun Nov 26 13:28:49 2023 +0100
Update to version 0.8.2; Fixes RHBZ#2173156
diff --git a/.gitignore b/.gitignore index 68c260b..d7e524f 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /remove_dir_all-0.5.2.crate /remove_dir_all-0.5.3.crate /remove_dir_all-0.7.0.crate +/remove_dir_all-0.8.2.crate diff --git a/remove_dir_all-fix-metadata-auto.diff b/remove_dir_all-fix-metadata-auto.diff index ebb9101..a4a0856 100644 --- a/remove_dir_all-fix-metadata-auto.diff +++ b/remove_dir_all-fix-metadata-auto.diff @@ -1,18 +1,19 @@ ---- remove_dir_all-0.7.0/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ remove_dir_all-0.7.0/Cargo.toml 2023-05-25T19:03:22.357769+00:00 -@@ -32,15 +32,3 @@ - version = "3.1" +--- remove_dir_all-0.8.2/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ remove_dir_all-0.8.2/Cargo.toml 2023-11-04T23:50:51.144272+00:00 +@@ -101,16 +101,3 @@ [target."cfg(not(windows))".dependencies.libc] version = "0.2" --[target."cfg(windows)".dependencies.log] --version = "0.4.11" + +-[target."cfg(windows)".dependencies.aligned] +-version = "0.4.1" - --[target."cfg(windows)".dependencies.num_cpus] --version = "1.13" -- --[target."cfg(windows)".dependencies.rayon] --version = "1.4" -- --[target."cfg(windows)".dependencies.winapi] --version = "0.3" --features = ["std", "errhandlingapi", "winerror", "fileapi", "winbase"] +-[target."cfg(windows)".dependencies.windows-sys] +-version = "0.45.0" +-features = [ +- "Win32_Foundation", +- "Win32_Storage_FileSystem", +- "Win32_System_IO", +- "Win32_System_Ioctl", +- "Win32_System_SystemServices", +- "Win32_System_Threading", +-] diff --git a/remove_dir_all-fix-metadata.diff b/remove_dir_all-fix-metadata.diff new file mode 100644 index 0000000..54671d6 --- /dev/null +++ b/remove_dir_all-fix-metadata.diff @@ -0,0 +1,39 @@ +--- remove_dir_all-0.8.2/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ remove_dir_all-0.8.2/Cargo.toml 2023-11-04T23:51:34.050434+00:00 +@@ -35,22 +35,10 @@ + categories = ["filesystem"] + license = "MIT OR Apache-2.0" + repository = "https://github.com/XAMPPRocky/remove_dir_all.git" +- +-[[bin]] +-name = "remove-dir-all" +-required-features = ["cli"] ++autobins = false + + [dependencies.cfg-if] + version = "1.0.0" +- +-[dependencies.clap] +-version = "4.1.11" +-features = ["derive"] +-optional = true +- +-[dependencies.env_logger] +-version = "0.10.0" +-optional = true + + [dependencies.fs_at] + version = "0.1.4" +@@ -85,12 +73,6 @@ + version = "0.2" + + [features] +-cli = [ +- "dep:clap", +- "dep:env_logger", +- "log", +- "parallel", +-] + default = [] + log = ["dep:log"] + parallel = ["dep:rayon"] diff --git a/rust-remove_dir_all.spec b/rust-remove_dir_all.spec index d5efcc4..e04eea3 100644 --- a/rust-remove_dir_all.spec +++ b/rust-remove_dir_all.spec @@ -1,23 +1,24 @@ -# Generated by rust2rpm 24 -# * tests seem to be broken with Rust 1.55+ -%bcond_with check +# Generated by rust2rpm 25 +%bcond_without check %global debug_package %{nil}
%global crate remove_dir_all
Name: rust-remove_dir_all -Version: 0.7.0 +Version: 0.8.2 Release: %autorelease Summary: Safe, reliable implementation of remove_dir_all
-# Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/remove_dir_all Source: %{crates_source} -# Automatically generated patch to strip foreign dependencies +# Automatically generated patch to strip dependencies and normalize metadata Patch: remove_dir_all-fix-metadata-auto.diff +# Manually created patch for downstream crate metadata changes +# * prevent unused remove-dir-all executable from being built and shipped +Patch: remove_dir_all-fix-metadata.diff
-BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: A safe, reliable implementation of remove_dir_all for Windows.} @@ -51,8 +52,32 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/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 the "log" feature of the "%{crate}" crate. + +%files -n %{name}+log-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+parallel-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+parallel-devel %{_description} + +This package contains library source intended for building other packages which +use the "parallel" feature of the "%{crate}" crate. + +%files -n %{name}+parallel-devel +%ghost %{crate_instdir}/Cargo.toml + %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep
%generate_buildrequires diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..2ac47f4 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +summary = "Safe, reliable implementation of remove_dir_all" + diff --git a/sources b/sources index ba8dd94..57a0317 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (remove_dir_all-0.7.0.crate) = a4a426e7f3e9f4d3925809e22ebb61d06be04703ecabbc07aae80894458f29a146bc6aa6540ab4ac96c74a160a5520ea079ebb6ac6cca489ba036ece6678339c +SHA512 (remove_dir_all-0.8.2.crate) = db20998b6db76ead161b69ad4f92cc7139a67285b1d7cd7a3631b4c46450503b378a597d3e27c618dd5a4f77c0b3f20a25036ad495c88a9a1d134a6af58f0134
commit d0dfa4346e2a784455bafebd18809ef37b40049c Author: Fedora Release Engineering releng@fedoraproject.org Date: Fri Jul 21 23:06:23 2023 +0000
Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering releng@fedoraproject.org
commit 4c37eea2e49e93b995e4aa4ca9ccadc7f632b93a Author: Fabio Valentini decathorpe@gmail.com Date: Thu May 25 21:04:46 2023 +0200
Regenerate with rust2rpm v24
diff --git a/README.md b/README.md deleted file mode 100644 index e9226f5..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-remove_dir_all - -The rust-remove_dir_all package \ No newline at end of file diff --git a/remove_dir_all-fix-metadata.diff b/remove_dir_all-fix-metadata-auto.diff similarity index 88% rename from remove_dir_all-fix-metadata.diff rename to remove_dir_all-fix-metadata-auto.diff index 93ee99b..ebb9101 100644 --- a/remove_dir_all-fix-metadata.diff +++ b/remove_dir_all-fix-metadata-auto.diff @@ -1,5 +1,5 @@ --- remove_dir_all-0.7.0/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ remove_dir_all-0.7.0/Cargo.toml 2021-05-19T13:12:48.032737+00:00 ++++ remove_dir_all-0.7.0/Cargo.toml 2023-05-25T19:03:22.357769+00:00 @@ -32,15 +32,3 @@ version = "3.1" [target."cfg(not(windows))".dependencies.libc] diff --git a/rust-remove_dir_all.spec b/rust-remove_dir_all.spec index d7b9875..d5efcc4 100644 --- a/rust-remove_dir_all.spec +++ b/rust-remove_dir_all.spec @@ -1,32 +1,26 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 24 # * tests seem to be broken with Rust 1.55+ %bcond_with check %global debug_package %{nil}
%global crate remove_dir_all
-Name: rust-%{crate} +Name: rust-remove_dir_all Version: 0.7.0 Release: %autorelease Summary: Safe, reliable implementation of remove_dir_all
# Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/remove_dir_all Source: %{crates_source} -# Initial patched metadata -# * drop windows-specific dependencies -Patch0: remove_dir_all-fix-metadata.diff +# Automatically generated patch to strip foreign dependencies +Patch: remove_dir_all-fix-metadata-auto.diff
-ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21
%global _description %{expand: -Safe, reliable implementation of remove_dir_all for Windows.} +A safe, reliable implementation of remove_dir_all for Windows.}
%description %{_description}
@@ -37,12 +31,13 @@ BuildArch: noarch %description devel %{_description}
This package contains library source intended for building other packages which -use "%{crate}" crate. +use the "%{crate}" crate.
%files devel -%license LICENCE-APACHE LICENCE-MIT -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENCE-APACHE +%license %{crate_instdir}/LICENCE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/
%package -n %{name}+default-devel Summary: %{summary} @@ -51,10 +46,10 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which -use "the default" feature of the "%{crate}" crate. +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
arch-excludes@lists.fedoraproject.org