commit 6af0e8ad23ae32c3a2ed7021631bc28980213667 Author: MSVSphere Packaging Team Date: Fri Dec 20 16:11:13 2024 +0300 import rust-lebe-0.5.2-6.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7a1f97e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/lebe-0.5.2.crate diff --git a/.rust-lebe.metadata b/.rust-lebe.metadata new file mode 100644 index 0000000..12df9e8 --- /dev/null +++ b/.rust-lebe.metadata @@ -0,0 +1 @@ +0f2780449afc75aa35a205dbcd8f3acfe8b3f2b8 SOURCES/lebe-0.5.2.crate diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..928ef24 --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# rust-lebe + +The rust-lebe package diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..45f5b9c --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,10 @@ +[requires] +build = [ + "tomcli", +] + +[scripts.prep] +post = [ + "# Do not depend on bencher; it is needed only for benchmarks.", + "tomcli set Cargo.toml del dev-dependencies.bencher", +] diff --git a/SPECS/rust-lebe.spec b/SPECS/rust-lebe.spec new file mode 100644 index 0000000..7b8bb6e --- /dev/null +++ b/SPECS/rust-lebe.spec @@ -0,0 +1,103 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 6; + 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 26 +%bcond_without check +%global debug_package %{nil} + +%global crate lebe + +Name: rust-lebe +Version: 0.5.2 +Release: %autorelease +Summary: Tiny, dead simple, high performance endianness conversions with a generic API + +License: BSD-3-Clause +URL: https://crates.io/crates/lebe +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 +BuildRequires: tomcli + +%global _description %{expand: +Tiny, dead simple, high performance endianness conversions with a +generic API.} + +%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-BSD-3-Clause +%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} -p1 +%cargo_prep +# Do not depend on bencher; it is needed only for benchmarks. +tomcli set Cargo.toml del dev-dependencies.bencher + +%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.5.2-6 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sun Sep 15 2024 Benjamin A. Beasley - 0.5.2-6 +- Drop benchmark-only dev-dependency on bencher + +* Fri Jul 19 2024 Fedora Release Engineering - 0.5.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 0.5.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.5.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jan 20 2023 Fedora Release Engineering - 0.5.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Aug 30 2022 Orion Poplawski - 0.5.2-1 +- Initial import +## END: Generated by rpmautospec