commit 671649c9290b56ad6f8cd95e079be9ffc4d3273c Author: MSVSphere Packaging Team Date: Fri Dec 20 17:09:29 2024 +0300 import rust-serdect-0.2.0-4.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..59c9c5f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/serdect-0.2.0.crate diff --git a/.rust-serdect.metadata b/.rust-serdect.metadata new file mode 100644 index 0000000..db928c8 --- /dev/null +++ b/.rust-serdect.metadata @@ -0,0 +1 @@ +ac8d2c993e896064b0e155020f3e951fc8521323 SOURCES/serdect-0.2.0.crate diff --git a/SOURCES/rust2rpm.conf b/SOURCES/rust2rpm.conf new file mode 100644 index 0000000..48ce7fe --- /dev/null +++ b/SOURCES/rust2rpm.conf @@ -0,0 +1,2 @@ +[DEFAULT] +summary = Constant-time serializer/deserializer helpers for serde diff --git a/SPECS/rust-serdect.spec b/SPECS/rust-serdect.spec new file mode 100644 index 0000000..8563a24 --- /dev/null +++ b/SPECS/rust-serdect.spec @@ -0,0 +1,121 @@ +## 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 +# * missing dev-dependencies: serde-json-core ^0.5 +%bcond_with check +%global debug_package %{nil} + +%global crate serdect + +Name: rust-serdect +Version: 0.2.0 +Release: %autorelease +Summary: Constant-time serde serializer/deserializer helpers for data that potentially contains secrets + +License: Apache-2.0 OR MIT +URL: https://crates.io/crates/serdect +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Constant-time serde serializer/deserializer helpers for data that +potentially contains secrets (e.g. cryptographic keys).} + +%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}+zeroize-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+zeroize-devel %{_description} + +This package contains library source intended for building other packages which +use the "zeroize" feature of the "%{crate}" crate. + +%files -n %{name}+zeroize-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 +* Sat Jul 20 2024 Fedora Release Engineering - 0.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jan 27 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 + +* Thu Jun 08 2023 Fabio Valentini - 0.2.0-1 +- Initial import (#2213209) +## END: Generated by rpmautospec