From 1c98c35452ff2c0b24531c2351c040656fe25984 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 28 Jul 2023 15:29:20 +0200 Subject: [PATCH] Update to version 0.11.2; Fixes RHBZ#2107772 --- .gitignore | 1 + README.md | 3 --- rust-phf_shared.spec | 25 ++++++++++++------------- sources | 2 +- 4 files changed, 14 insertions(+), 17 deletions(-) delete mode 100644 README.md diff --git a/.gitignore b/.gitignore index 638b2a5..9be9761 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /phf_shared-0.7.24.crate /phf_shared-0.8.0.crate /phf_shared-0.10.0.crate +/phf_shared-0.11.2.crate diff --git a/README.md b/README.md deleted file mode 100644 index c7e4b5c..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-phf_shared - -The rust-phf_shared package \ No newline at end of file diff --git a/rust-phf_shared.spec b/rust-phf_shared.spec index 4b26ad4..88e484f 100644 --- a/rust-phf_shared.spec +++ b/rust-phf_shared.spec @@ -1,23 +1,19 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate phf_shared -Name: rust-%{crate} -Version: 0.10.0 +Name: rust-phf_shared +Version: 0.11.2 Release: %autorelease Summary: Support code shared by PHF libraries -# Upstream license specification: MIT -# https://github.com/sfackler/rust-phf/pull/118 License: MIT URL: https://crates.io/crates/phf_shared Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Support code shared by PHF libraries.} @@ -34,7 +30,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,7 +45,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 %package -n %{name}+std-devel Summary: %{summary} @@ -58,7 +57,7 @@ This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+uncased-devel Summary: %{summary} @@ -70,7 +69,7 @@ This package contains library source intended for building other packages which use the "uncased" feature of the "%{crate}" crate. %files -n %{name}+uncased-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicase-devel Summary: %{summary} @@ -82,7 +81,7 @@ This package contains library source intended for building other packages which use the "unicase" feature of the "%{crate}" crate. %files -n %{name}+unicase-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 22a1f4e..b328265 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (phf_shared-0.10.0.crate) = f088a6836a28afca7a2ef5440d7aa953227785d52aa0b9fcb76c88d085fe7f0e68732f2354c9f8dfc0a90ab1b8ac214f28549780e6f32d857ff7e8963093d9e5 +SHA512 (phf_shared-0.11.2.crate) = f2cf9e8ceabde75bb7548e5a47dece9a8fb7eea4a6c5568675e7bd735860c3e51181d749a26cd3dcad1476ec22d524ccb77a956dd267cd0f2b7dfb81db9abcbe