diff --git a/.gitignore b/.gitignore index 86c5f0d..cdeb177 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /trash-2.0.4.crate /trash-2.1.1.crate /trash-2.1.3.crate +/trash-2.1.5.crate diff --git a/rust-trash.spec b/rust-trash.spec index c0858ff..0b797e1 100644 --- a/rust-trash.spec +++ b/rust-trash.spec @@ -6,7 +6,7 @@ %global crate trash Name: rust-%{crate} -Version: 2.1.3 +Version: 2.1.5 Release: %autorelease Summary: Library for moving files and folders to the Recycle Bin @@ -54,6 +54,18 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+chrono-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+chrono-devel %{_description} + +This package contains library source intended for building other packages which +use the "chrono" feature of the "%{crate}" crate. + +%files -n %{name}+chrono-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+coinit_apartmentthreaded-devel Summary: %{summary} BuildArch: noarch diff --git a/sources b/sources index 9e96bc7..8732e9b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (trash-2.1.3.crate) = 5fd7831270396ea6a0ca6abc2d854fc9dd5fa4e74861b86f3adbc40feb08bcf0b3e25d8f23c33b30353dd9c87c35afca4f42b8cb60e3cfe54c070ff6d1769ffe +SHA512 (trash-2.1.5.crate) = 895cdd8a1d070d7716ba9647dbfda35fa9641744f905d10c11b41e7553cc88d66961019a4a5167565a71a696cec05ed55deeea8439cddbece97582c0b73a475d diff --git a/trash-fix-metadata.diff b/trash-fix-metadata.diff index df5feb0..4377b1d 100644 --- a/trash-fix-metadata.diff +++ b/trash-fix-metadata.diff @@ -1,6 +1,6 @@ ---- trash-2.1.3/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ trash-2.1.3/Cargo.toml 2022-05-23T16:10:00.265723+00:00 -@@ -72,18 +72,3 @@ +--- trash-2.1.5/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ trash-2.1.5/Cargo.toml 2022-07-13T13:10:51.505021+00:00 +@@ -76,21 +76,3 @@ [target."cfg(all(unix, not(target_os = \"macos\"), not(target_os = \"ios\"), not(target_os = \"android\")))".dependencies.url] version = "2.1.0" @@ -15,7 +15,10 @@ -version = "1.0.0" - -[target."cfg(windows)".dependencies.windows] --version = "0.9.0" -- --[target."cfg(windows)".build-dependencies.windows] --version = "0.9.0" +-version = "0.37.0" +-features = [ +- "alloc", +- "Win32_Foundation", +- "Win32_System_Com_StructuredStorage", +- "Win32_UI_Shell_PropertiesSystem", +-]