From 556547e5aacd22f8a42ad07ef3823b18aa6e8f2b Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 16:12:13 +0300 Subject: [PATCH] import rust-libflate-2.1.0-2.el10 --- .gitignore | 1 + .rust-libflate.metadata | 1 + SPECS/rust-libflate.spec | 191 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 193 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-libflate.metadata create mode 100644 SPECS/rust-libflate.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5a63bc6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libflate-2.1.0.crate diff --git a/.rust-libflate.metadata b/.rust-libflate.metadata new file mode 100644 index 0000000..a49ab1f --- /dev/null +++ b/.rust-libflate.metadata @@ -0,0 +1 @@ +c69cc7150a8bc0624c85c4a8e9af93c0db51c920 SOURCES/libflate-2.1.0.crate diff --git a/SPECS/rust-libflate.spec b/SPECS/rust-libflate.spec new file mode 100644 index 0000000..4eeacd1 --- /dev/null +++ b/SPECS/rust-libflate.spec @@ -0,0 +1,191 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## 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 26 +%bcond_without check +%global debug_package %{nil} + +%global crate libflate + +Name: rust-libflate +Version: 2.1.0 +Release: %autorelease +Summary: Rust implementation of DEFLATE algorithm and related formats + +License: MIT +URL: https://crates.io/crates/libflate +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A Rust implementation of DEFLATE algorithm and related formats (ZLIB, +GZIP).} + +%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 +%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}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-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 - 2.1.0-2 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Fri Jul 19 2024 Fedora Release Engineering - 2.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Wed May 01 2024 Davide Cavalca - 2.1.0-1 +- Update to 2.1.0; Fixes: RHBZ#2221370 + +* Fri Jan 26 2024 Fedora Release Engineering - 1.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 1.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Mon May 22 2023 Fabio Valentini - 1.4.0-1 +- Update to version 1.4.0; Fixes RHBZ#2170489 + +* Fri Jan 20 2023 Fedora Release Engineering - 1.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 1.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Mar 29 2022 Fabio Valentini - 1.2.0-1 +- Update to version 1.2.0; Fixes RHBZ#2068351 + +* Wed Jan 26 2022 Fabio Valentini - 1.1.2-1 +- Update to version 1.1.2; Fixes RHBZ#2045077 + +* Fri Jan 21 2022 Fedora Release Engineering - 1.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Sun Aug 29 2021 Fabio Valentini - 1.1.1-1 +- Update to version 1.1.1; Fixes RHBZ#1998797 + +* Fri Jul 23 2021 Fedora Release Engineering - 1.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Apr 28 2021 Fabio Valentini - 1.1.0-1 +- Update to version 1.1.0. +- Fixes RHBZ#1950671 + +* Thu Mar 25 2021 Fabio Valentini - 1.0.4-1 +- Update to version 1.0.4. +- Fixes RHBZ#1939504 + +* Wed Jan 27 2021 Fedora Release Engineering - 1.0.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Dec 28 13:31:19 CET 2020 Igor Raits - 1.0.3-2 +- Rebuild + +* Thu Nov 12 2020 Fabio Valentini - 1.0.3-1 +- Update to version 1.0.3. +- Fixes RHBZ#1891274 + +* Wed Jul 29 2020 Fedora Release Engineering - 1.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 10 2020 Josh Stone - 1.0.2-1 +- Update to 1.0.2 + +* Sun May 31 10:13:27 CEST 2020 Igor Raits - 1.0.1-1 +- Update to 1.0.1 + +* Mon May 18 12:37:14 CEST 2020 Igor Raits - 1.0.0-1 +- Update to 1.0.0 + +* Wed Feb 12 2020 Josh Stone - 0.1.27-1 +- Update to 0.1.27 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.1.23-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Jul 26 2019 Fedora Release Engineering - 0.1.23-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu May 30 17:37:49 CEST 2019 Igor Gnatenko - 0.1.23-1 +- Update to 0.1.23 + +* Mon Apr 15 2019 Josh Stone - 0.1.22-1 +- Update to 0.1.22 + +* Wed Mar 13 2019 Igor Gnatenko - 0.1.21-1 +- Update to 0.1.21 + +* Tue Feb 19 2019 Igor Gnatenko - 0.1.20-1 +- Update to 0.1.20 + +* Sat Feb 02 2019 Fedora Release Engineering - 0.1.19-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jan 26 2019 Igor Gnatenko - 0.1.19-2 +- Run tests in infrastructure + +* Sat Jan 26 2019 Igor Gnatenko - 0.1.19-1 +- Initial package + +## END: Generated by rpmautospec