From 2e332708b48b7332e91ff3e553a0c4b15df38245 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 10 Oct 2023 20:43:16 +0200 Subject: [PATCH] Update to version 5.0.1; Fixes RHBZ#2179559 --- .gitignore | 1 + rust-directories.spec | 8 ++++---- rust2rpm.conf | 2 -- rust2rpm.toml | 3 +++ sources | 2 +- 5 files changed, 9 insertions(+), 7 deletions(-) delete mode 100644 rust2rpm.conf create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index 279e9ca..f0f12bb 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /directories-3.0.1.crate /directories-3.0.2.crate /directories-4.0.1.crate +/directories-5.0.1.crate diff --git a/rust-directories.spec b/rust-directories.spec index 4792683..a80c36a 100644 --- a/rust-directories.spec +++ b/rust-directories.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate directories Name: rust-directories -Version: 4.0.1 +Version: 5.0.1 Release: %autorelease Summary: Platform-specific standard locations of directories @@ -13,7 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/directories Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A tiny mid-level library that provides platform-specific standard @@ -52,7 +52,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/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index 5c3b544..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,2 +0,0 @@ -[DEFAULT] -summary = Platform-specific standard locations of directories diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..1c04cd9 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +summary = "Platform-specific standard locations of directories" + diff --git a/sources b/sources index c8d8c68..65a5629 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (directories-4.0.1.crate) = babe4e23759b2e01a284a14aa1b45ba9d705ad7257246fe8c1ee6a071f48192c58a30b7d09c222268be83f7ebb59c0cc91e8b1342c1f9f0a96ec079fd264f8d5 +SHA512 (directories-5.0.1.crate) = 4ec733bccf79940190b983e022ad4a5741c32136aac7bd942423e63a2e7a7c07b87e2692ae42eb21b7a5cc81c60ad883d55c568e0d6c10a7c7c64652ec0df83e