commit 8060626d6272975684d8c9d570f3a1fc5611eb18 Author: MSVSphere Packaging Team Date: Fri Dec 20 16:42:58 2024 +0300 import rust-psl-2.1.66-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..053b649 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/psl-2.1.66.crate diff --git a/.rust-psl.metadata b/.rust-psl.metadata new file mode 100644 index 0000000..2653227 --- /dev/null +++ b/.rust-psl.metadata @@ -0,0 +1 @@ +cbe99714d2bdf77053a49609c9d4eed3df489a7a SOURCES/psl-2.1.66.crate diff --git a/SPECS/rust-psl.spec b/SPECS/rust-psl.spec new file mode 100644 index 0000000..395fd24 --- /dev/null +++ b/SPECS/rust-psl.spec @@ -0,0 +1,136 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## 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 27 +%bcond check 1 +%global debug_package %{nil} + +%global crate psl + +Name: rust-psl +Version: 2.1.66 +Release: %autorelease +Summary: Extract root domain and suffix from a domain name + +# Upstream license specification: MIT/Apache-2.0 +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/psl +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Extract root domain and suffix from a domain name.} + +%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 +%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}+helpers-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+helpers-devel %{_description} + +This package contains library source intended for building other packages which +use the "helpers" feature of the "%{crate}" crate. + +%files -n %{name}+helpers-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 +* Fri Dec 20 2024 MSVSphere Packaging Team - 2.1.66-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Mon Dec 09 2024 Fabio Valentini - 2.1.66-1 +- Update to version 2.1.66; Fixes RHBZ#2329424 + +* Thu Nov 28 2024 Fabio Valentini - 2.1.62-1 +- Update to version 2.1.62; Fixes RHBZ#2326143 + +* Sat Jul 27 2024 Fabio Valentini - 2.1.55-1 +- Update to version 2.1.55; Fixes RHBZ#2297893 + +* Sat Jul 20 2024 Fedora Release Engineering - 2.1.50-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jul 06 2024 Fabio Valentini - 2.1.50-1 +- Update to version 2.1.50; Fixes RHBZ#2294122 + +* Mon Jun 24 2024 Fabio Valentini - 2.1.47-1 +- Update to version 2.1.47; Fixes RHBZ#2292560 + +* Fri Jun 14 2024 Fabio Valentini - 2.1.44-1 +- Update to version 2.1.44; Fixes RHBZ#2291244 + +* Wed Jun 05 2024 Fabio Valentini - 2.1.42-1 +- Update to version 2.1.42; Fixes RHBZ#2283274 + +* Thu May 16 2024 Fabio Valentini - 2.1.39-1 +- Update to version 2.1.39; Fixes RHBZ#2278079 + +* Mon Apr 22 2024 Fabio Valentini - 2.1.34-1 +- Update to version 2.1.34; Fixes RHBZ#2274422 + +* Thu Apr 04 2024 Fabio Valentini - 2.1.30-1 +- Update to version 2.1.30; Fixes RHBZ#2269092 + +* Fri Mar 08 2024 Fabio Valentini - 2.1.27-1 +- Update to version 2.1.27; Fixes RHBZ#2259978 + +* Fri Jan 26 2024 Fedora Release Engineering - 2.1.14-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Jan 18 2024 Albert Larsan - 2.1.14-1 +- Initial import (fedora#2254743) +## END: Generated by rpmautospec