diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8141b11 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/home-0.5.9.crate diff --git a/.rust-home.metadata b/.rust-home.metadata index e69de29..db2910e 100644 --- a/.rust-home.metadata +++ b/.rust-home.metadata @@ -0,0 +1 @@ +fbc5e8763458174efeeef4e0db4013831576f0d2 SOURCES/home-0.5.9.crate diff --git a/SOURCES/home-0.5.5.crate b/SOURCES/home-0.5.5.crate deleted file mode 100644 index 8020db6..0000000 Binary files a/SOURCES/home-0.5.5.crate and /dev/null differ diff --git a/SOURCES/home-fix-metadata-auto.diff b/SOURCES/home-fix-metadata-auto.diff index 4f5fc90..4140c09 100644 --- a/SOURCES/home-fix-metadata-auto.diff +++ b/SOURCES/home-fix-metadata-auto.diff @@ -1,12 +1,22 @@ ---- home-0.5.5/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ home-0.5.5/Cargo.toml 2023-04-26T21:36:34.423434+00:00 -@@ -28,9 +28,3 @@ +--- home-0.5.9/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ home-0.5.9/Cargo.toml 2024-01-11T19:40:03.778100+00:00 +@@ -28,14 +28,6 @@ + license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/cargo" - resolver = "2" -[target."cfg(windows)".dependencies.windows-sys] --version = "0.48.0" +-version = "0.52" -features = [ - "Win32_Foundation", - "Win32_UI_Shell", +- "Win32_System_Com", -] +- + [lints.clippy] + dbg_macro = "warn" + disallowed_methods = "warn" +@@ -52,3 +44,4 @@ + + [lints.rustdoc] + private_intra_doc_links = "allow" ++ diff --git a/SPECS/rust-home.spec b/SPECS/rust-home.spec index 99d072f..9ee40bb 100644 --- a/SPECS/rust-home.spec +++ b/SPECS/rust-home.spec @@ -8,24 +8,24 @@ }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate home Name: rust-home -Version: 0.5.5 +Version: 0.5.9 Release: %autorelease Summary: Shared definitions of home directories License: MIT OR Apache-2.0 URL: https://crates.io/crates/home Source: %{crates_source} -# Automatically generated patch to strip foreign dependencies +# Automatically generated patch to strip dependencies and normalize metadata Patch: home-fix-metadata-auto.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Shared definitions of home directories.} @@ -60,7 +60,7 @@ use the "default" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires @@ -78,9 +78,15 @@ use the "default" feature of the "%{crate}" crate. %endif %changelog -* Mon Jan 15 2024 Arkady L. Shane - 0.5.5-1 +* Mon Jan 15 2024 Arkady L. Shane - 0.5.9-1 - Rebuilt for MSVSphere 9.3 +* Thu Jan 11 2024 Fabio Valentini - 0.5.9-1 +- Update to version 0.5.9; Fixes RHBZ#2254774 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.5.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Wed Apr 26 2023 Fabio Valentini - 0.5.5-1 - Update to version 0.5.5; Fixes RHBZ#2189643