commit dfeab6fa0c379778edbb97572d197d6c1abe7be6 Author: MSVSphere Packaging Team Date: Fri Dec 20 15:00:49 2024 +0300 import rust-byteorder-lite-0.1.0-2.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5e1e777 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/byteorder-lite-0.1.0.crate diff --git a/.rust-byteorder-lite.metadata b/.rust-byteorder-lite.metadata new file mode 100644 index 0000000..ef5a00d --- /dev/null +++ b/.rust-byteorder-lite.metadata @@ -0,0 +1 @@ +e780ac0b3a1c6c6b69ce7ddec2a0d45642b57260 SOURCES/byteorder-lite-0.1.0.crate diff --git a/SPECS/rust-byteorder-lite.spec b/SPECS/rust-byteorder-lite.spec new file mode 100644 index 0000000..210b4f8 --- /dev/null +++ b/SPECS/rust-byteorder-lite.spec @@ -0,0 +1,100 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 2; + 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 byteorder-lite + +Name: rust-byteorder-lite +Version: 0.1.0 +Release: %autorelease +Summary: Library for reading/writing numbers in big-endian and little-endian + +License: Unlicense OR MIT +URL: https://crates.io/crates/byteorder-lite +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Library for reading/writing numbers in big-endian and little-endian.} + +%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-MIT +%license %{crate_instdir}/UNLICENSE +%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}+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 +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.1.0-2 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 0.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Mon May 20 2024 Fabio Valentini - 0.1.0-1 +- Initial import (#2281027) +## END: Generated by rpmautospec