From 7b13f041133590661396c2c79bf7a6f67d8a1e13 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 17:12:30 +0300 Subject: [PATCH] import rust-signal-hook-0.3.17-3.el10 --- .gitignore | 1 + .rust-signal-hook.metadata | 1 + SPECS/rust-signal-hook.spec | 259 ++++++++++++++++++++++++++++++++++++ 3 files changed, 261 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-signal-hook.metadata create mode 100644 SPECS/rust-signal-hook.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b1881fc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/signal-hook-0.3.17.crate diff --git a/.rust-signal-hook.metadata b/.rust-signal-hook.metadata new file mode 100644 index 0000000..18300bc --- /dev/null +++ b/.rust-signal-hook.metadata @@ -0,0 +1 @@ +edbb6143d08f3d7d73ed4604364170b5efebd18a SOURCES/signal-hook-0.3.17.crate diff --git a/SPECS/rust-signal-hook.spec b/SPECS/rust-signal-hook.spec new file mode 100644 index 0000000..07bc2c9 --- /dev/null +++ b/SPECS/rust-signal-hook.spec @@ -0,0 +1,259 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 3; + 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 +# * outdated dev-dependencies: serial_test +%bcond_with check +%global debug_package %{nil} + +%global crate signal-hook + +Name: rust-signal-hook +Version: 0.3.17 +Release: %autorelease +Summary: Unix signal handling + +# Upstream license specification: Apache-2.0/MIT +License: Apache-2.0 OR MIT +URL: https://crates.io/crates/signal-hook +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Unix signal handling.} + +%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}/CHANGELOG.md +%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 + +%package -n %{name}+cc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+cc-devel %{_description} + +This package contains library source intended for building other packages which +use the "cc" feature of the "%{crate}" crate. + +%files -n %{name}+cc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+channel-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+channel-devel %{_description} + +This package contains library source intended for building other packages which +use the "channel" feature of the "%{crate}" crate. + +%files -n %{name}+channel-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+extended-siginfo-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+extended-siginfo-devel %{_description} + +This package contains library source intended for building other packages which +use the "extended-siginfo" feature of the "%{crate}" crate. + +%files -n %{name}+extended-siginfo-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+extended-siginfo-raw-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+extended-siginfo-raw-devel %{_description} + +This package contains library source intended for building other packages which +use the "extended-siginfo-raw" feature of the "%{crate}" crate. + +%files -n %{name}+extended-siginfo-raw-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+iterator-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+iterator-devel %{_description} + +This package contains library source intended for building other packages which +use the "iterator" feature of the "%{crate}" crate. + +%files -n %{name}+iterator-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -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 - 0.3.17-3 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Jul 20 2024 Fedora Release Engineering - 0.3.17-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jan 27 2024 Fedora Release Engineering - 0.3.17-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Jul 29 2023 Fabio Valentini - 0.3.17-1 +- Update to version 0.3.17; Fixes RHBZ#2223716 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.3.16-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jul 15 2023 Fabio Valentini - 0.3.16-1 +- Update to version 0.3.16; Fixes RHBZ#2223080 + +* Tue Feb 28 2023 Fabio Valentini - 0.3.15-1 +- Update to version 0.3.15; Fixes RHBZ#2169064 + +* Sat Jan 21 2023 Fedora Release Engineering - 0.3.14-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.3.14-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon May 23 2022 Fabio Valentini - 0.3.14-1 +- Update to version 0.3.14; Fixes RHBZ#2086888 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.3.13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Mon Dec 20 2021 Fabio Valentini - 0.3.13-1 +- Update to version 0.3.13; Fixes RHBZ#2034227 + +* Thu Dec 09 2021 Fabio Valentini - 0.3.12-1 +- Update to version 0.3.12; Fixes RHBZ#2030015 + +* Tue Aug 31 2021 Fabio Valentini - 0.3.10-1 +- Update to version 0.3.10; Fixes RHBZ#1999522 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.3.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jun 01 2021 Fabio Valentini - 0.3.9-1 +- Update to version 0.3.9. +- Fixes RHBZ#1966671 + +* Fri Apr 30 2021 Fabio Valentini - 0.3.8-1 +- Update to version 0.3.8. +- Fixes RHBZ#1946014 + +* Tue Mar 23 2021 Peter Robinson - 0.3.7-1 +- Update to 0.3.7 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.1.17-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Dec 28 11:35:12 CET 2020 Igor Raits - 0.1.17-1 +- Update to 0.1.17 + +* Wed Jul 29 2020 Fedora Release Engineering - 0.1.16-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jun 19 2020 Josh Stone - 0.1.16-1 +- Update to 0.1.16 + +* Mon May 11 2020 Josh Stone - 0.1.15-1 +- Update to 0.1.15 + +* Tue May 05 2020 Josh Stone - 0.1.14-1 +- Update to 0.1.14 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.1.13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Jan 27 2020 Josh Stone - 0.1.13-1 +- Update to 0.1.13 + +* Thu Nov 28 15:15:09 CET 2019 Igor Gnatenko - 0.1.12-1 +- Update to 0.1.12 + +* Tue Nov 19 2019 Josh Stone - 0.1.11-1 +- Update to 0.1.11 + +* Sun Sep 08 09:10:52 CEST 2019 Igor Gnatenko - 0.1.10-1 +- Update to 0.1.10 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.1.9-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Jun 22 23:16:52 CEST 2019 Igor Gnatenko - 0.1.9-2 +- Regenerate + +* Sun Apr 28 20:37:32 CEST 2019 Igor Gnatenko - 0.1.9-1 +- Update to 0.1.9 + +* Sun Mar 10 2019 Igor Gnatenko - 0.1.8-2 +- Do not pull optional dependencies + +* Tue Feb 26 2019 Josh Stone - 0.1.8-1 +- Update to 0.1.8 + +* Sat Feb 09 2019 Igor Gnatenko - 0.1.7-3 +- Run tests in infrastructure + +* Sat Feb 02 2019 Fedora Release Engineering - 0.1.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Jan 08 2019 Josh Stone - 0.1.7-1 +- Update to 0.1.7 + +* Thu Nov 15 2018 Josh Stone - 0.1.6-1 +- Initial package + +## END: Generated by rpmautospec