From 00ee14c8f5d68ba3a92e6a6afbd1c74621920624 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 25 May 2022 16:52:53 +0200 Subject: [PATCH] Update to version 0.1.18; Fixes RHBZ#2071296 --- .gitignore | 1 + rust-psm.spec | 15 ++++++++------- sources | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 2a1d667..65b6c7b 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /psm-0.1.15.crate /psm-0.1.16.crate /psm-0.1.17.crate +/psm-0.1.18.crate diff --git a/rust-psm.spec b/rust-psm.spec index 7357ea6..420637e 100644 --- a/rust-psm.spec +++ b/rust-psm.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate psm Name: rust-%{crate} -Version: 0.1.17 +Version: 0.1.18 Release: %autorelease Summary: Portable Stack Manipulation: stack manipulation and introspection routines @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Portable Stack Manipulation: stack manipulation and introspection routines.} @@ -33,9 +33,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc README.mkd -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.mkd +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +48,7 @@ This package contains library source intended for building other packages which 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 diff --git a/sources b/sources index 68cfd2f..7320642 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (psm-0.1.17.crate) = 4c8e32c9ab3c883eb2c9f1c31a9c1c5e165c18962602087f458342bd9aaab25d3fd021308eb9ae49cd483c4060f45c44b7020f4aa558e3f779c0c97a296bae79 +SHA512 (psm-0.1.18.crate) = 478bda18ee11a3235601e515a81ad8af8e32a3adbc3a1bf7575f2436dd31c8a3867de2d06e53d11010b65cbf6922bd8212695e5808341e8870eefe9c9c69538d