commit 1458eec7cde5f215736233ffa062bac81cbfcc96 Author: MSVSphere Packaging Team Date: Fri Dec 20 16:41:29 2024 +0300 import rust-primeorder-0.13.6-3.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7459ce7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/primeorder-0.13.6.crate diff --git a/.rust-primeorder.metadata b/.rust-primeorder.metadata new file mode 100644 index 0000000..52a9485 --- /dev/null +++ b/.rust-primeorder.metadata @@ -0,0 +1 @@ +bd93382288db19faa2d41fd70badd7c1084a4783 SOURCES/primeorder-0.13.6.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..4849cb0 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +summary = "Complete addition formulas for prime order elliptic curves" + diff --git a/SPECS/rust-primeorder.spec b/SPECS/rust-primeorder.spec new file mode 100644 index 0000000..8533dc7 --- /dev/null +++ b/SPECS/rust-primeorder.spec @@ -0,0 +1,163 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## 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 25 +%bcond_without check +%global debug_package %{nil} + +%global crate primeorder + +Name: rust-primeorder +Version: 0.13.6 +Release: %autorelease +Summary: Complete addition formulas for prime order elliptic curves + +License: Apache-2.0 OR MIT +URL: https://crates.io/crates/primeorder +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Pure Rust implementation of complete addition formulas for prime order +elliptic curves (Renes-Costello-Batina 2015). Generic over field +elements and curve equation coefficients.} + +%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}+dev-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+dev-devel %{_description} + +This package contains library source intended for building other packages which +use the "dev" feature of the "%{crate}" crate. + +%files -n %{name}+dev-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+serde-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. + +%files -n %{name}+serde-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+serdect-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serdect-devel %{_description} + +This package contains library source intended for building other packages which +use the "serdect" feature of the "%{crate}" crate. + +%files -n %{name}+serdect-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.13.6-3 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Jul 20 2024 Fedora Release Engineering - 0.13.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 0.13.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Nov 25 2023 Fabio Valentini - 0.13.6-1 +- Update to version 0.13.6; Fixes RHBZ#2249951 + +* Thu Nov 09 2023 Fabio Valentini - 0.13.3-1 +- Update to version 0.13.3; Fixes RHBZ#2247728 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.13.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sun Jun 11 2023 Fabio Valentini - 0.13.2-1 +- Initial import (#2213266) +## END: Generated by rpmautospec