Compare commits

...

No commits in common. 'epel9' and 'i10ce' have entirely different histories.
epel9 ... i10ce

6
.gitignore vendored

@ -1,5 +1 @@
/constant_time_eq-0.1.5.crate SOURCES/constant_time_eq-0.3.1.crate
/constant_time_eq-0.2.4.crate
/constant_time_eq-0.2.5.crate
/constant_time_eq-0.2.6.crate
/constant_time_eq-0.3.0.crate

@ -0,0 +1 @@
a53afa77722dc4dadb3874484b4ee22cd587750c SOURCES/constant_time_eq-0.3.1.crate

@ -1,15 +1,24 @@
--- constant_time_eq-0.3.0/Cargo.toml 1970-01-01T00:00:01+00:00 --- constant_time_eq-0.3.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ constant_time_eq-0.3.0/Cargo.toml 2024-01-19T16:39:19.285130+00:00 +++ constant_time_eq-0.3.1/Cargo.toml 2024-09-17T20:45:39.486573+00:00
@@ -23,22 +23,5 @@ @@ -28,31 +28,9 @@
"cryptography", "cryptography",
"no-std", "no-std",
] ]
-license = "CC0-1.0 OR MIT-0 OR Apache-2.0" -license = "CC0-1.0 OR MIT-0 OR Apache-2.0"
+license = "MIT-0 OR Apache-2.0" +license = "MIT-0 OR Apache-2.0"
repository = "https://github.com/cesarb/constant_time_eq" repository = "https://github.com/cesarb/constant_time_eq"
[lib]
name = "constant_time_eq"
path = "src/lib.rs"
-
-[[test]]
-name = "count_instructions"
-path = "tests/count_instructions.rs"
- -
-[[bench]] -[[bench]]
-name = "bench" -name = "bench"
-path = "benches/bench.rs"
-harness = false -harness = false
- -
-[dev-dependencies.count_instructions] -[dev-dependencies.count_instructions]

@ -0,0 +1,131 @@
## START: Set by rpmautospec
## (rpmautospec version 0.7.2)
## 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 26
%bcond_without check
%global debug_package %{nil}
%global crate constant_time_eq
Name: rust-constant_time_eq
Version: 0.3.1
Release: %autorelease
Summary: Compares two equal-sized byte strings in constant time
License: 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
# * remove CC0-1.0 from license metadata (not acceptable for code in Fedora)
# * 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
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.3.1-1
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Tue Sep 17 2024 Fabio Valentini <decathorpe@gmail.com> - 0.3.1-1
- Update to version 0.3.1; Fixes RHBZ#2308070
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fabio Valentini <decathorpe@gmail.com> - 0.3.0-2
- Remove CC0-1.0 from license metadata (not acceptable for code in Fedora)
* 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
## END: Generated by rpmautospec

@ -1,11 +0,0 @@
* 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

@ -1,75 +0,0 @@
# 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: 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
# * remove CC0-1.0 from license metadata (not acceptable for code in Fedora)
# * 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
%autochangelog

@ -1 +0,0 @@
SHA512 (constant_time_eq-0.3.0.crate) = 77bf6817c521daa45c0df7721418b4aa367531adde46b1db97316d52ffb46fc4ee2d3e6f62ff91ca6292db5e1d3e040f0f5287c3936f12a595b2c8c5928bf5e6
Loading…
Cancel
Save