Compare commits

..

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

3
.gitignore vendored

@ -1,2 +1 @@
/rd-hashd-2.1.2.crate
/rd-hashd-2.1.2-vendor.tar.gz
SOURCES/rd-hashd-2.1.2.crate

@ -0,0 +1 @@
fe500e9d4cb989bb836f9fe847b690d62069724f SOURCES/rd-hashd-2.1.2.crate

@ -0,0 +1,110 @@
## START: Set by rpmautospec
## (rpmautospec version 0.3.5)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 10;
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 24
%bcond_without check
%global crate rd-hashd
Name: rust-rd-hashd
Version: 2.1.2
Release: %autorelease
Summary: Latency-sensitive pseudo workload for resctl-demo
License: Apache-2.0
URL: https://crates.io/crates/rd-hashd
Source: %{crates_source}
# hashd: build fix for 32bit archs
Patch0: https://github.com/facebookexperimental/resctl-demo/commit/dbe5735bdf005a24e54dd19559016a59f6f43536.patch
# * fix builds with Rust 1.73+ caused by ambiguous <number>::div_ceil calls
Patch1: 0001-Disambiguate-num-Integer-div_ceil-from-number-div_ce.patch
BuildRequires: rust-packaging >= 23
%global _description %{expand:
Latency-sensitive pseudo workload for resctl-demo.}
%description %{_description}
%package -n %{crate}
Summary: %{summary}
# (MIT OR Apache-2.0) AND Unicode-DFS-2016
# Apache-2.0
# Apache-2.0 OR BSL-1.0
# BSD-3-Clause
# MIT
# MIT OR Apache-2.0
# Unlicense OR MIT
License: Apache-2.0 AND BSD-3-Clause AND MIT AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (MIT OR Apache-2.0) AND (Unlicense OR MIT)
# LICENSE.dependencies contains a full license breakdown
%description -n %{crate} %{_description}
%files -n %{crate}
%license LICENSE
%license LICENSE.dependencies
%doc README.md
%{_bindir}/rd-hashd
%prep
%autosetup -n %{crate}-%{version_no_tilde} -N
%patch -P0 -p2
%patch -P1 -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%{cargo_license_summary}
%{cargo_license} > LICENSE.dependencies
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 2.1.2-10
- Rebuilt for MSVSphere 9.3
* Sun Oct 08 2023 Fabio Valentini <decathorpe@gmail.com> - 2.1.2-10
- Fix builds with Rust 1.73+ caused by ambiguous <number>::div_ceil calls
* Mon Aug 07 2023 Fabio Valentini <decathorpe@gmail.com> - 2.1.2-9
- Regenerate with rust2rpm v24
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Sat Jan 28 2023 Fabio Valentini <decathorpe@gmail.com> - 2.1.2-7
- Rebuild for CVE-2022-24765 and CVE-2022-29187 in libgit2
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.1.2-4
- Rebuild with package notes
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Oct 22 2021 Davide Cavalca <dcavalca@fedoraproject.org> - 2.1.2-2
- Build for epel8
* Thu Oct 21 2021 Davide Cavalca <dcavalca@fedoraproject.org> - 2.1.2-1
- Initial import; Fixes: RHBZ#1990927

@ -1,69 +0,0 @@
# Generated by rust2rpm 24
%bcond_without check
%global crate rd-hashd
Name: rust-rd-hashd
Version: 2.1.2
Release: %autorelease
Summary: Latency-sensitive pseudo workload for resctl-demo
License: Apache-2.0
URL: https://crates.io/crates/rd-hashd
Source: %{crates_source}
# hashd: build fix for 32bit archs
Patch0: https://github.com/facebookexperimental/resctl-demo/commit/dbe5735bdf005a24e54dd19559016a59f6f43536.patch
# * fix builds with Rust 1.73+ caused by ambiguous <number>::div_ceil calls
Patch1: 0001-Disambiguate-num-Integer-div_ceil-from-number-div_ce.patch
BuildRequires: rust-packaging >= 23
%global _description %{expand:
Latency-sensitive pseudo workload for resctl-demo.}
%description %{_description}
%package -n %{crate}
Summary: %{summary}
# (MIT OR Apache-2.0) AND Unicode-DFS-2016
# Apache-2.0
# Apache-2.0 OR BSL-1.0
# BSD-3-Clause
# MIT
# MIT OR Apache-2.0
# Unlicense OR MIT
License: Apache-2.0 AND BSD-3-Clause AND MIT AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (MIT OR Apache-2.0) AND (Unlicense OR MIT)
# LICENSE.dependencies contains a full license breakdown
%description -n %{crate} %{_description}
%files -n %{crate}
%license LICENSE
%license LICENSE.dependencies
%doc README.md
%{_bindir}/rd-hashd
%prep
%autosetup -n %{crate}-%{version_no_tilde} -N
%patch -P0 -p2
%patch -P1 -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%{cargo_license_summary}
%{cargo_license} > LICENSE.dependencies
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -1,2 +0,0 @@
SHA512 (rd-hashd-2.1.2.crate) = 0e5b66efa2b2089f2c1efe7dc4e61982f9e2597daa103265d848e6b3a4e0c0089fb3c660e1ea6458f4def1c1e4f07baf7302d4bb79a509633749ac7a27cb5827
SHA512 (rd-hashd-2.1.2-vendor.tar.gz) = 501237685f68889504556cc4be89584cd44c86636d5af0140de39d4688b6f3bc3d90bb4d01f2a901a8e93ea16f4f718f2a215b797725e92693a86bc5ae249911
Loading…
Cancel
Save