Update to version 0.11.2; Fixes RHBZ#2107769

epel9 imports/e9/rust-phf-0.11.2-1.el9
Fabio Valentini 1 year ago
parent 0aaa055357
commit bfdcf48c2c
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -4,3 +4,4 @@
/phf-0.7.24.crate /phf-0.7.24.crate
/phf-0.8.0.crate /phf-0.8.0.crate
/phf-0.10.1.crate /phf-0.10.1.crate
/phf-0.11.2.crate

@ -1,3 +0,0 @@
# rust-phf
The rust-phf package

@ -1,24 +1,19 @@
# Generated by rust2rpm 20 # Generated by rust2rpm 24
# * The tests use the nightly macros feature %bcond_without check
%bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate phf %global crate phf
Name: rust-%{crate} Name: rust-phf
Version: 0.10.1 Version: 0.11.2
Release: %autorelease Release: %autorelease
Summary: Runtime support for perfect hash function data structures Summary: Runtime support for perfect hash function data structures
# Upstream license specification: MIT
# https://github.com/sfackler/rust-phf/pull/118
License: MIT License: MIT
URL: https://crates.io/crates/phf URL: https://crates.io/crates/phf
Source: %{crates_source} Source: %{crates_source}
ExclusiveArch: %{rust_arches} BuildRequires: cargo-rpm-macros >= 24
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Runtime support for perfect hash function data structures.} Runtime support for perfect hash function data structures.}
@ -35,7 +30,10 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate. use the "%{crate}" crate.
%files devel %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 %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -47,7 +45,7 @@ This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+macros-devel %package -n %{name}+macros-devel
Summary: %{summary} Summary: %{summary}
@ -59,7 +57,7 @@ This package contains library source intended for building other packages which
use the "macros" feature of the "%{crate}" crate. use the "macros" feature of the "%{crate}" crate.
%files -n %{name}+macros-devel %files -n %{name}+macros-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+phf_macros-devel %package -n %{name}+phf_macros-devel
Summary: %{summary} Summary: %{summary}
@ -71,19 +69,7 @@ This package contains library source intended for building other packages which
use the "phf_macros" feature of the "%{crate}" crate. use the "phf_macros" feature of the "%{crate}" crate.
%files -n %{name}+phf_macros-devel %files -n %{name}+phf_macros-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+proc-macro-hack-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+proc-macro-hack-devel %{_description}
This package contains library source intended for building other packages which
use the "proc-macro-hack" feature of the "%{crate}" crate.
%files -n %{name}+proc-macro-hack-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+serde-devel %package -n %{name}+serde-devel
Summary: %{summary} Summary: %{summary}
@ -95,7 +81,7 @@ This package contains library source intended for building other packages which
use the "serde" feature of the "%{crate}" crate. use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel %files -n %{name}+serde-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
@ -107,7 +93,7 @@ This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate. use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel %files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+uncased-devel %package -n %{name}+uncased-devel
Summary: %{summary} Summary: %{summary}
@ -119,7 +105,7 @@ This package contains library source intended for building other packages which
use the "uncased" feature of the "%{crate}" crate. use the "uncased" feature of the "%{crate}" crate.
%files -n %{name}+uncased-devel %files -n %{name}+uncased-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+unicase-devel %package -n %{name}+unicase-devel
Summary: %{summary} Summary: %{summary}
@ -131,24 +117,24 @@ This package contains library source intended for building other packages which
use the "unicase" feature of the "%{crate}" crate. use the "unicase" feature of the "%{crate}" crate.
%files -n %{name}+unicase-devel %files -n %{name}+unicase-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires
%cargo_generate_buildrequires %cargo_generate_buildrequires -a
%build %build
%cargo_build %cargo_build -a
%install %install
%cargo_install %cargo_install -a
%if %{with check} %if %{with check}
%check %check
%cargo_test %cargo_test -a
%endif %endif
%changelog %changelog

@ -1 +1 @@
SHA512 (phf-0.10.1.crate) = 84568d6d1baa7c4e6faf5f3ee09133e736977286d7cb7630a59a53fc8ea15d0d41b9242f8929184667ce576cc9946da55d1e8bc06e98824f163c91c6aa05e073 SHA512 (phf-0.11.2.crate) = 97752bfb44f3d1f9347b4ccfb6fa2fb80b3263d6f67aa703c52ae90d693c537a0db878acef828c79bd4c41e8f7ca0ea45588dee073d12c9bb0f2980c511b65b4

Loading…
Cancel
Save