commit 7eebfedef1cb6b94fac5cf644189c3ab7dd8e471 Author: tigro Date: Mon Jan 15 19:31:41 2024 +0300 import rust-idna-0.5.0-1.el9 diff --git a/.rust-idna.metadata b/.rust-idna.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/idna-0.5.0.crate b/SOURCES/idna-0.5.0.crate new file mode 100644 index 0000000..2699955 Binary files /dev/null and b/SOURCES/idna-0.5.0.crate differ diff --git a/SPECS/rust-idna.spec b/SPECS/rust-idna.spec new file mode 100644 index 0000000..6dd342c --- /dev/null +++ b/SPECS/rust-idna.spec @@ -0,0 +1,185 @@ +## 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 25 +%bcond_without check +%global debug_package %{nil} + +%global crate idna + +Name: rust-idna +Version: 0.5.0 +Release: %autorelease +Summary: IDNA (Internationalizing Domain Names in Applications) and Punycode + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/idna +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +IDNA (Internationalizing Domain Names in Applications) and Punycode.} + +%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-APACHE +%license %{crate_instdir}/LICENSE-MIT +%{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}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-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 + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%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.5.0-1 +- Rebuilt for MSVSphere 9.3 + +* Thu Jan 04 2024 Fabio Valentini - 0.5.0-1 +- Update to version 0.5.0; Fixes RHBZ#2251085 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jul 13 2023 Fabio Valentini - 0.4.0-1 +- Update to version 0.4.0; Fixes RHBZ#2212342 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Mon Dec 12 2022 Fabio Valentini - 0.3.0-1 +- Update to version 0.3.0; Fixes RHBZ#2125175 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.2.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.2.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Tue Jul 27 2021 Fedora Release Engineering - 0.2.3-2 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Apr 16 2021 Fabio Valentini - 0.2.3-1 +- Update to version 0.2.3. +- Fixes RHBZ#1950281 + +* Sat Feb 27 2021 Fabio Valentini - 0.2.2-1 +- Update to version 0.2.2. + +* Sun Feb 07 2021 Fabio Valentini - 0.2.1-1 +- Update to version 0.2.1. +- Fixes RHBZ#1925499 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jan 30 2020 Fedora Release Engineering - 0.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sun Aug 25 09:29:37 CEST 2019 Igor Gnatenko - 0.2.0-1 +- Update to 0.2.0 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.1.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jun 20 09:23:52 CEST 2019 Igor Gnatenko - 0.1.5-5 +- Regenerate + +* Sat Feb 02 2019 Fedora Release Engineering - 0.1.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Nov 03 2018 Igor Gnatenko - 0.1.5-3 +- Adapt to new packaging + +* Sat Jul 14 2018 Fedora Release Engineering - 0.1.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Jul 06 2018 Igor Gnatenko - 0.1.5-1 +- Update to 0.1.5 + +* Tue Mar 13 2018 Igor Gnatenko - 0.1.4-4 +- Bump rustc-test to 0.3 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.1.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Jan 08 2018 Igor Gnatenko - 0.1.4-2 +- Rebuild for rust-packaging v5 + +* Fri Nov 10 2017 Igor Gnatenko - 0.1.4-1 +- Update to 0.1.4 + +* Wed Jul 05 2017 Igor Gnatenko - 0.1.2-1 +- Initial package +