commit 332ce8dcc5bb6131a487df267f2c2b23c1e873cd Author: MSVSphere Packaging Team Date: Fri Dec 20 18:03:26 2024 +0300 import rust-urid-0.1.0-3.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2b8979f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/urid-0.1.0.crate diff --git a/.rust-urid.metadata b/.rust-urid.metadata new file mode 100644 index 0000000..335a09c --- /dev/null +++ b/.rust-urid.metadata @@ -0,0 +1 @@ +f065efaaeed0214e8b584dc9c1b28925c70b39da SOURCES/urid-0.1.0.crate diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..eda0f9d --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# rust-urid + +The rust-urid package diff --git a/SPECS/rust-urid.spec b/SPECS/rust-urid.spec new file mode 100644 index 0000000..6db6c48 --- /dev/null +++ b/SPECS/rust-urid.spec @@ -0,0 +1,91 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 3; + 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 urid + +Name: rust-urid +Version: 0.1.0 +Release: %autorelease +Summary: Library for idiomatic URID support + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/urid +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Library for idiomatic URID support.} + +%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 +%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 + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -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 - 0.1.0-3 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Jul 20 2024 Fedora Release Engineering - 0.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jan 27 2024 Fedora Release Engineering - 0.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jul 23 2023 Davide Cavalca - 0.1.0-1 +- Initial import; Fixes: RHBZ#2224757 +## END: Generated by rpmautospec