From 923f71ee8976fa1d786726fd7074d361b7ce93a6 Mon Sep 17 00:00:00 2001 From: tigro Date: Mon, 15 Jan 2024 22:09:48 +0300 Subject: [PATCH] import rust-phf0.8-0.8.0-4.el9 --- .rust-phf0.8.metadata | 0 SOURCES/LICENSE | 20 ++++++ SOURCES/phf-0.8.0.crate | Bin 0 -> 3902 bytes SPECS/rust-phf0.8.spec | 153 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 173 insertions(+) create mode 100644 .rust-phf0.8.metadata create mode 100644 SOURCES/LICENSE create mode 100644 SOURCES/phf-0.8.0.crate create mode 100644 SPECS/rust-phf0.8.spec diff --git a/.rust-phf0.8.metadata b/.rust-phf0.8.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/LICENSE b/SOURCES/LICENSE new file mode 100644 index 0000000..f8a266f --- /dev/null +++ b/SOURCES/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2014-2016 Steven Fackler + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/SOURCES/phf-0.8.0.crate b/SOURCES/phf-0.8.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z2{eqyv46EPJOd(Le^Ja>zs`pGQC9df^>BNou7jr!nQj#jUf+k9G z(hD2BH@scydGzNwJ;5#1xpSy~VACVkz3iE^?BF*q&WvkjPPP+sJT^lv4! z5-!n}-K-$T?_ASxn?sCj(bXw#vZXxu#`apVr>D%kL|1LDCRH&gh42Z79L%ee#6N(G zYv3%jM}|ooB`MmDxb{1Bh#c~u^nR8P7mjD0& literal 0 HcmV?d00001 diff --git a/SPECS/rust-phf0.8.spec b/SPECS/rust-phf0.8.spec new file mode 100644 index 0000000..75f027b --- /dev/null +++ b/SPECS/rust-phf0.8.spec @@ -0,0 +1,153 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 4; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# Generated by rust2rpm 24 +%bcond_without check +%global debug_package %{nil} + +%global crate phf + +Name: rust-phf0.8 +Version: 0.8.0 +Release: %autorelease +Summary: Runtime support for perfect hash function data structures + +License: MIT +URL: https://crates.io/crates/phf +Source0: %{crates_source} +# https://github.com/sfackler/rust-phf/pull/118 +Source1: https://github.com/rust-phf/rust-phf/raw/v%{version}/LICENSE + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Runtime support for perfect hash function data structures.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE +%{crate_instdir}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+macros-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+macros-devel %{_description} + +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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+phf_macros-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+phf_macros-devel %{_description} + +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 %{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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +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 %{crate_instdir}/Cargo.toml + +%package -n %{name}+unicase-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+unicase-devel %{_description} + +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 %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep +cp -pav %{SOURCE1} . + +%generate_buildrequires +%cargo_generate_buildrequires -a + +%build +%cargo_build -a + +%install +%cargo_install -a + +%if %{with check} +%check +%cargo_test -a +%endif + +%changelog +* Mon Jan 15 2024 Arkady L. Shane - 0.8.0-4 +- Rebuilt for MSVSphere 9.3 + +* Wed Jun 14 2023 Fabio Valentini - 0.8.0-4 +- Regenerate with rust2rpm v24 and add missing license file + +* Sat Jan 21 2023 Fedora Release Engineering - 0.8.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sun Feb 13 2022 Igor Raits - 0.8.0-1 +- Initial import