commit 72bb133b3dc16f0cf784f77506c670131c4e15ed Author: tigro Date: Mon Nov 20 11:40:01 2023 +0300 import rust-jobserver-0.1.27-1.el9 diff --git a/.rust-jobserver.metadata b/.rust-jobserver.metadata new file mode 100644 index 0000000..e69de29 diff --git a/SOURCES/jobserver-0.1.27.crate b/SOURCES/jobserver-0.1.27.crate new file mode 100644 index 0000000..51d9bb1 Binary files /dev/null and b/SOURCES/jobserver-0.1.27.crate differ diff --git a/SPECS/rust-jobserver.spec b/SPECS/rust-jobserver.spec new file mode 100644 index 0000000..c357762 --- /dev/null +++ b/SPECS/rust-jobserver.spec @@ -0,0 +1,164 @@ +## 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 +# * outdated dev-dependencies +%bcond_with check +%global debug_package %{nil} + +%global crate jobserver + +Name: rust-jobserver +Version: 0.1.27 +Release: %autorelease +Summary: Implementation of the GNU make jobserver for Rust + +# Upstream license specification: MIT/Apache-2.0 +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/jobserver +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +An implementation of the GNU make jobserver for Rust.} + +%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-MIT +%doc %{crate_instdir}/README.md +%{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 Nov 20 2023 Arkady L. Shane - 0.1.27-1 +- Rebuilt for MSVSphere 9.2 + +* Tue Oct 10 2023 Fabio Valentini - 0.1.27-1 +- Update to version 0.1.27; Fixes RHBZ#2243056 + +* Tue Feb 28 2023 Fabio Valentini - 0.1.26-1 +- Update to version 0.1.26; Fixes RHBZ#2173990 + +* Wed Oct 05 2022 Fabio Valentini - 0.1.25-1 +- Update to version 0.1.25; Fixes RHBZ#2129404 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.1.24-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.1.24-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Sat Aug 21 2021 Fabio Valentini - 0.1.24-1 +- Update to version 0.1.24; Fixes RHBZ#1994158 + +* Sun Aug 08 2021 Fabio Valentini - 0.1.23-1 +- Update to version 0.1.23; Fixes RHBZ#1951080 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.1.21-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.1.21-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.1.21-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Thu Jan 30 2020 Josh Stone - 0.1.21-1 +- Update to 0.1.21 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.1.19-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Jan 15 2020 Josh Stone - 0.1.19-1 +- Update to 0.1.19 + +* Fri Nov 15 2019 Josh Stone - 0.1.17-1 +- Update to 0.1.17 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.1.13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Mar 16 2019 Igor Gnatenko - 0.1.13-1 +- Update to 0.1.13 + +* Sat Feb 02 2019 Fedora Release Engineering - 0.1.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Dec 03 2018 Josh Stone - 0.1.12-1 +- Update to 0.1.12 + +* Tue Nov 13 2018 Josh Stone - 0.1.11-6 +- Adapt to new packaging + +* Sat Jul 28 2018 Igor Gnatenko - 0.1.11-5 +- Rebuild to trigger tests + +* Sat Jul 28 2018 Igor Gnatenko - 0.1.11-4 +- Rebuild to trigger tests + +* Sat Jul 14 2018 Fedora Release Engineering - 0.1.11-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Jun 14 2018 Igor Gnatenko - 0.1.11-2 +- Bump tokio-process to 0.2 + +* Wed Mar 14 2018 Josh Stone - 0.1.11-1 +- Update to 0.1.11 + +* Tue Mar 13 2018 Josh Stone - 0.1.10-1 +- Update to 0.1.10 + +* Fri Feb 09 2018 Fedora Release Engineering - 0.1.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Jan 13 2018 Igor Gnatenko - 0.1.9-1 +- Initial package +