commit 278b361f72fc74511b48b076df60c03a4943dfee Author: MSVSphere Packaging Team Date: Fri Dec 20 14:53:08 2024 +0300 import rust-base16ct-0.2.0-4.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..cfead8a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/base16ct-0.2.0.crate diff --git a/.rust-base16ct.metadata b/.rust-base16ct.metadata new file mode 100644 index 0000000..1b54bdf --- /dev/null +++ b/.rust-base16ct.metadata @@ -0,0 +1 @@ +902d6eb48bc11412facf919012f2c004427d0e7a SOURCES/base16ct-0.2.0.crate diff --git a/SPECS/rust-base16ct.spec b/SPECS/rust-base16ct.spec new file mode 100644 index 0000000..12f0536 --- /dev/null +++ b/SPECS/rust-base16ct.spec @@ -0,0 +1,122 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 4; + 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 base16ct + +Name: rust-base16ct +Version: 0.2.0 +Release: %autorelease +Summary: Pure Rust, constant-time implementation of Base16 (RFC 4648) + +License: Apache-2.0 OR MIT +URL: https://crates.io/crates/base16ct +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Pure Rust implementation of Base16 a.k.a hexadecimal (RFC 4648) which +avoids any usages of data-dependent branches/LUTs and thereby provides +portable "best effort" constant-time operation and embedded-friendly +no_std 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}/CHANGELOG.md +%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}+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_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.2.0-4 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 0.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 0.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 06 2023 Fabio Valentini - 0.2.0-1 +- Initial import (#2211087) +## END: Generated by rpmautospec