From 6663a5b4d16eb467c671093eee95a4c90e14bacc Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Feb 05 2024 13:33:44 +0000 Subject: Update to version 1.1.0; Fixes RHBZ#2262653 --- diff --git a/.gitignore b/.gitignore index e1974fd..86ea868 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /xdg-home-1.0.0.crate +/xdg-home-1.1.0.crate diff --git a/rust-xdg-home.spec b/rust-xdg-home.spec index 335f87b..ef40c4b 100644 --- a/rust-xdg-home.spec +++ b/rust-xdg-home.spec @@ -1,21 +1,21 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate xdg-home Name: rust-xdg-home -Version: 1.0.0 +Version: 1.1.0 Release: %autorelease Summary: User's home directory as per XDG Specification License: MIT URL: https://crates.io/crates/xdg-home Source: %{crates_source} -# Automatically generated patch to strip foreign dependencies +# Automatically generated patch to strip dependencies and normalize metadata Patch: xdg-home-fix-metadata-auto.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: The user's home directory as per XDG Specification.} @@ -50,7 +50,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 diff --git a/sources b/sources index 98c2fd9..b2fca84 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xdg-home-1.0.0.crate) = 943414b1238be9cb0785987e45e90412ea1df6f838ec845147555e09e2433966b2635b59884f9adc13f79820661062f13c1368fa959f785897a2617ffad0bc23 +SHA512 (xdg-home-1.1.0.crate) = 3f4d6d81b84beab8eb549e124c9dcf5dbcad8b6471cd87edcebf5c0011371667718104c7ea6eba7301fde7524137b18484621c820c75b182bafd7b9b2972957a diff --git a/xdg-home-fix-metadata-auto.diff b/xdg-home-fix-metadata-auto.diff index c64db8e..fae1a35 100644 --- a/xdg-home-fix-metadata-auto.diff +++ b/xdg-home-fix-metadata-auto.diff @@ -1,8 +1,8 @@ ---- xdg-home-1.0.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ xdg-home-1.0.0/Cargo.toml 2023-05-06T17:51:32.402427+00:00 -@@ -34,11 +34,3 @@ - features = ["user"] - default-features = false +--- xdg-home-1.1.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ xdg-home-1.1.0/Cargo.toml 2024-02-05T13:32:35.178833+00:00 +@@ -32,11 +32,3 @@ + [target."cfg(unix)".dependencies.libc] + version = "0.2" -[target."cfg(windows)".dependencies.winapi] -version = "0.3"