commit 9081df7a16c09be42c2cc4c272cef01746d1d107 Author: MSVSphere Packaging Team Date: Fri Dec 20 16:32:29 2024 +0300 import rust-paste-1.0.15-2.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..27a17db --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/paste-1.0.15.crate diff --git a/.rust-paste.metadata b/.rust-paste.metadata new file mode 100644 index 0000000..16edc0e --- /dev/null +++ b/.rust-paste.metadata @@ -0,0 +1 @@ +9daa82dceaa495951cc92ad83879d99cc04969af SOURCES/paste-1.0.15.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..e5e4d66 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["missing dev-dependency: paste-test-suite"] + diff --git a/SPECS/rust-paste.spec b/SPECS/rust-paste.spec new file mode 100644 index 0000000..fa1b0ea --- /dev/null +++ b/SPECS/rust-paste.spec @@ -0,0 +1,210 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.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 26 +# * missing dev-dependency: paste-test-suite +%bcond_with check +%global debug_package %{nil} + +%global crate paste + +Name: rust-paste +Version: 1.0.15 +Release: %autorelease +Summary: Macros for all your token pasting needs + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/paste +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Macros for all your token pasting needs.} + +%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 +* Fri Dec 20 2024 MSVSphere Packaging Team - 1.0.15-2 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Jul 20 2024 Fedora Release Engineering - 1.0.15-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Tue May 07 2024 Fabio Valentini - 1.0.15-1 +- Update to version 1.0.15; Fixes RHBZ#2279441 + +* Fri Jan 26 2024 Fedora Release Engineering - 1.0.14-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 1.0.14-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Mon Jul 17 2023 Fabio Valentini - 1.0.14-1 +- Update to version 1.0.14; Fixes RHBZ#2223134 + +* Wed Jul 05 2023 Fabio Valentini - 1.0.13-1 +- Update to version 1.0.13; Fixes RHBZ#2219481 + +* Mon Mar 06 2023 Fabio Valentini - 1.0.12-1 +- Update to version 1.0.12; Fixes RHBZ#2175572 + +* Sun Jan 29 2023 Fabio Valentini - 1.0.11-1 +- Update to version 1.0.11; Fixes RHBZ#2154587 + +* Sat Jan 21 2023 Fedora Release Engineering - 1.0.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Dec 13 2022 Fabio Valentini - 1.0.10-1 +- Update to version 1.0.10; Fixes RHBZ#2152751 + +* Fri Sep 02 2022 Fabio Valentini - 1.0.9-1 +- Update to version 1.0.9; Fixes RHBZ#2122910 + +* Wed Aug 03 2022 Fabio Valentini - 1.0.8-1 +- Update to version 1.0.8; Fixes RHBZ#2114625 + +* Sat Jul 23 2022 Fedora Release Engineering - 1.0.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Tue Mar 29 2022 Fabio Valentini - 1.0.7-1 +- Update to version 1.0.7; Fixes RHBZ#2068953 + +* Fri Jan 21 2022 Fedora Release Engineering - 1.0.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Sun Nov 07 2021 Fabio Valentini - 1.0.6-1 +- Update to version 1.0.6; Fixes RHBZ#2020899 + +* Fri Jul 23 2021 Fedora Release Engineering - 1.0.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Mar 23 2021 Fabio Valentini - 1.0.5-1 +- Update to version 1.0.5. +- Fixes RHBZ#1938509 + +* Wed Jan 27 2021 Fedora Release Engineering - 1.0.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Dec 10 2020 Fabio Valentini - 1.0.4-1 +- Update to version 1.0.4. +- Fixes RHBZ#1906245 + +* Wed Nov 11 2020 Fabio Valentini - 1.0.3-1 +- Update to version 1.0.3. +- Fixes RHBZ#1890375 + +* Wed Sep 23 2020 Fabio Valentini - 1.0.1-1 +- Update to version 1.0.1. + +* Wed Aug 26 2020 Josh Stone - 1.0.0-1 +- Update to 1.0.0 + +* Wed Jul 29 2020 Fedora Release Engineering - 0.1.18-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun Jun 21 08:58:57 CEST 2020 Igor Raits - 0.1.18-1 +- Update to 0.1.18 + +* Fri Jun 19 2020 Josh Stone - 0.1.17-1 +- Update to 0.1.17 + +* Wed Jun 03 07:26:33 CEST 2020 Igor Raits - 0.1.16-1 +- Update to 0.1.16 + +* Sun May 31 10:25:05 CEST 2020 Igor Raits - 0.1.15-1 +- Update to 0.1.15 + +* Tue May 26 2020 Josh Stone - 0.1.14-1 +- Update to 0.1.14 + +* Sun May 24 12:43:28 CEST 2020 Igor Raits - 0.1.13-1 +- Update to 0.1.13 + +* Mon May 04 2020 Josh Stone - 0.1.12-1 +- Update to 0.1.12 + +* Wed Apr 29 2020 Josh Stone - 0.1.11-1 +- Update to 0.1.11 + +* Wed Apr 01 2020 Josh Stone - 0.1.10-1 +- Update to 0.1.10 + +* Sat Mar 28 07:14:51 CET 2020 Igor Raits - 0.1.9-1 +- Update to 0.1.9 + +* Mon Mar 23 18:48:57 CET 2020 Igor Raits - 0.1.8-1 +- Update to 0.1.8 + +* Sun Feb 23 10:23:42 CET 2020 Igor Raits - 0.1.7-1 +- Update to 0.1.7 + +* Thu Jan 30 2020 Fedora Release Engineering - 0.1.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sun Aug 25 15:40:41 CEST 2019 Igor Gnatenko - 0.1.6-1 +- Update to 0.1.6 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.1.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Mar 20 09:41:09 CET 2019 Igor Gnatenko - 0.1.5-1 +- Update to 0.1.5 + +* Sat Mar 09 2019 Robert-André Mauchin - 0.1.4-1 +- Initial package + +## END: Generated by rpmautospec