From b3abc4e162631d674fc6d6c179ca27168dd72d33 Mon Sep 17 00:00:00 2001 From: tigro Date: Mon, 15 Jan 2024 22:10:26 +0300 Subject: [PATCH] import rust-phf_macros-0.11.2-1.el9 --- .rust-phf_macros.metadata | 0 SOURCES/LICENSE | 20 +++++ SOURCES/phf_macros-0.11.2.crate | Bin 0 -> 4748 bytes SPECS/rust-phf_macros.spec | 137 ++++++++++++++++++++++++++++++++ 4 files changed, 157 insertions(+) create mode 100644 .rust-phf_macros.metadata create mode 100644 SOURCES/LICENSE create mode 100644 SOURCES/phf_macros-0.11.2.crate create mode 100644 SPECS/rust-phf_macros.spec diff --git a/.rust-phf_macros.metadata b/.rust-phf_macros.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/LICENSE b/SOURCES/LICENSE new file mode 100644 index 0000000..cd5bf68 --- /dev/null +++ b/SOURCES/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2014-2022 Steven Fackler, Yuki Okushi + +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_macros-0.11.2.crate b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 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + 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_macros + +Name: rust-phf_macros +Version: 0.11.2 +Release: %autorelease +Summary: Macros to generate types in the phf crate + +License: MIT +URL: https://crates.io/crates/phf_macros +Source0: %{crates_source} +# https://github.com/rust-phf/rust-phf/pull/293 +Source1: https://github.com/rust-phf/rust-phf/raw/phf_macros-v0.11.1/LICENSE + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Macros to generate types in the phf crate.} + +%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 LICENSE +%doc %{crate_instdir}/README.md +%{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}+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 + +%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 + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Mon Jan 15 2024 Arkady L. Shane - 0.11.2-1 +- Rebuilt for MSVSphere 9.3 + +* Fri Jul 28 2023 Fabio Valentini - 0.11.2-1 +- Update to version 0.11.2; Fixes RHBZ#2107771 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.10.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jan 21 2023 Fedora Release Engineering - 0.10.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.10.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sun Feb 13 2022 Igor Raits - 0.10.0-1 +- Update to 0.10.0 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.8.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.8.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.8.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat Feb 15 14:01:18 CET 2020 Igor Raits - 0.8.0-1 +- Initial package +