commit
8355bd4165
Binary file not shown.
@ -0,0 +1,23 @@
|
||||
--- constant_time_eq-0.3.0/Cargo.toml 1970-01-01T00:00:01+00:00
|
||||
+++ constant_time_eq-0.3.0/Cargo.toml 2024-01-06T05:07:59.388894+00:00
|
||||
@@ -25,20 +25,3 @@
|
||||
]
|
||||
license = "CC0-1.0 OR MIT-0 OR Apache-2.0"
|
||||
repository = "https://github.com/cesarb/constant_time_eq"
|
||||
-
|
||||
-[[bench]]
|
||||
-name = "bench"
|
||||
-harness = false
|
||||
-
|
||||
-[dev-dependencies.count_instructions]
|
||||
-version = "0.1.3"
|
||||
-
|
||||
-[dev-dependencies.criterion]
|
||||
-version = "0.5.1"
|
||||
-features = [
|
||||
- "cargo_bench_support",
|
||||
- "html_reports",
|
||||
-]
|
||||
-
|
||||
-[features]
|
||||
-count_instructions_test = []
|
@ -0,0 +1,116 @@
|
||||
## START: Set by rpmautospec
|
||||
## (rpmautospec version 0.3.5)
|
||||
## RPMAUTOSPEC: autorelease, autochangelog
|
||||
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
||||
release_number = 1;
|
||||
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 constant_time_eq
|
||||
|
||||
Name: rust-constant_time_eq
|
||||
Version: 0.3.0
|
||||
Release: %autorelease
|
||||
Summary: Compares two equal-sized byte strings in constant time
|
||||
|
||||
License: CC0-1.0 OR MIT-0 OR Apache-2.0
|
||||
URL: https://crates.io/crates/constant_time_eq
|
||||
Source: %{crates_source}
|
||||
# Manually created patch for downstream crate metadata changes
|
||||
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
|
||||
# * drop unused count_instructions dev-dependency and associated feature
|
||||
Patch: constant_time_eq-fix-metadata.diff
|
||||
|
||||
BuildRequires: cargo-rpm-macros >= 24
|
||||
|
||||
%global _description %{expand:
|
||||
Compares two equal-sized byte strings in constant time.}
|
||||
|
||||
%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-CC0
|
||||
%license %{crate_instdir}/LICENSE-MIT0
|
||||
%doc %{crate_instdir}/README
|
||||
%{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
|
||||
|
||||
%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
|
||||
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.3.0-1
|
||||
- Rebuilt for MSVSphere 9.3
|
||||
|
||||
* Sat Jan 06 2024 Michel Lind <salimma@fedoraproject.org> - 0.3.0-1
|
||||
- Update to 0.3.0
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Mon Jun 12 2023 Fabio Valentini <decathorpe@gmail.com> - 0.2.6-1
|
||||
- Update to version 0.2.6; Fixes RHBZ#2213980
|
||||
|
||||
* Sun Mar 12 2023 Fabio Valentini <decathorpe@gmail.com> - 0.2.5-1
|
||||
- Update to version 0.2.5; Fixes RHBZ#2177467
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Wed Aug 10 2022 Fabio Valentini <decathorpe@gmail.com> - 0.2.4-1
|
||||
- Update to version 0.2.4; Fixes RHBZ#2066007
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.5-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.5-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Thu Jun 17 2021 Davide Cavalca <dcavalca@fedoraproject.org> - 0.1.5-1
|
||||
- Initial package
|
||||
|
Loading…
Reference in new issue