Compare commits

...

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

6
.gitignore vendored

@ -1 +1,5 @@
SOURCES/constant_time_eq-0.3.0.crate /constant_time_eq-0.1.5.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

@ -1 +0,0 @@
50405891a0e7da457d8e71a7577c96097281589b SOURCES/constant_time_eq-0.3.0.crate

@ -1,122 +0,0 @@
## START: Set by rpmautospec
## (rpmautospec version 0.5.1)
## 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 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
## START: Generated by rpmautospec
* 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)
* 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
## END: Generated by rpmautospec

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

@ -0,0 +1,75 @@
# 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

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