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.8.0.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
# * The tests use the nightly macros feature
%bcond_with check
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate phf
Name: rust-%{crate}
Version: 0.10.1
Name: rust-phf
Version: 0.11.2
Release: %autorelease
Summary: Runtime support for perfect hash function data structures
# Upstream license specification: MIT
# https://github.com/sfackler/rust-phf/pull/118
License: MIT
URL: https://crates.io/crates/phf
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
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.
%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}
@ -47,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}+macros-devel
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.
%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
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.
%files -n %{name}+phf_macros-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
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.
%files -n %{name}+serde-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel
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.
%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}
@ -119,7 +105,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}
@ -131,24 +117,24 @@ 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
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%cargo_generate_buildrequires -a
%build
%cargo_build
%cargo_build -a
%install
%cargo_install
%cargo_install -a
%if %{with check}
%check
%cargo_test
%cargo_test -a
%endif
%changelog

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

Loading…
Cancel
Save