|
|
|
@ -1,27 +1,17 @@
|
|
|
|
|
## 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
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate fiat-crypto
|
|
|
|
|
|
|
|
|
|
Name: rust-fiat-crypto
|
|
|
|
|
Version: 0.2.8
|
|
|
|
|
Version: 0.1.20
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Correct-by-Construction Code for Cryptographic Primitives
|
|
|
|
|
|
|
|
|
|
License: MIT OR Apache-2.0 OR BSD-1-Clause
|
|
|
|
|
URL: https://crates.io/crates/fiat-crypto
|
|
|
|
|
Source: %{crate}-%{version}-clean.crate
|
|
|
|
|
Source: %{crate}-%{version_no_tilde}-clean.crate
|
|
|
|
|
# script to create tarball with only permissible content:
|
|
|
|
|
# run "rust2rpm" and then "./gen_clean_tarball.sh" for new versions
|
|
|
|
|
Source: gen_clean_tarball.sh
|
|
|
|
@ -30,7 +20,7 @@ Source: 0001-remove-references-to-code-related-to-the-p434-curve.patch
|
|
|
|
|
# * change crate description to something more meaningful
|
|
|
|
|
Patch: fiat-crypto-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Correct-by-Construction Code for Cryptographic Primitives.}
|
|
|
|
@ -81,7 +71,7 @@ use the "std" feature of the "%{crate}" crate.
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
@ -99,25 +89,4 @@ use the "std" feature of the "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.2.8-2
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Apr 23 2024 Fabio Valentini <decathorpe@gmail.com> - 0.2.8-1
|
|
|
|
|
- Update to version 0.2.8; Fixes RHBZ#2270380
|
|
|
|
|
|
|
|
|
|
* Mon Feb 05 2024 Fabio Valentini <decathorpe@gmail.com> - 0.2.6-1
|
|
|
|
|
- Update to version 0.2.6; Fixes RHBZ#2236364
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.20-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.20-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jun 15 2023 Fabio Valentini <decathorpe@gmail.com> - 0.1.20-1
|
|
|
|
|
- Initial import (#2213270)
|
|
|
|
|
## END: Generated by rpmautospec
|
|
|
|
|
%autochangelog
|