commit 63b08572d05fbfd9fa64aba5648f176b352e5692 Author: MSVSphere Packaging Team Date: Fri Dec 20 16:41:09 2024 +0300 import rust-prettyplease-0.2.25-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7ee7cf4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/prettyplease-0.2.25.crate diff --git a/.rust-prettyplease.metadata b/.rust-prettyplease.metadata new file mode 100644 index 0000000..f6cf945 --- /dev/null +++ b/.rust-prettyplease.metadata @@ -0,0 +1 @@ +5e3204590b03cf155f9509f5b460392d7041c851 SOURCES/prettyplease-0.2.25.crate diff --git a/SPECS/rust-prettyplease.spec b/SPECS/rust-prettyplease.spec new file mode 100644 index 0000000..47a2fb9 --- /dev/null +++ b/SPECS/rust-prettyplease.spec @@ -0,0 +1,154 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## 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 26 +%bcond_without check +%global debug_package %{nil} + +%global crate prettyplease + +Name: rust-prettyplease +Version: 0.2.25 +Release: %autorelease +Summary: Minimal syn syntax tree pretty-printer + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/prettyplease +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A minimal `syn` syntax tree pretty-printer.} + +%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 + +%package -n %{name}+verbatim-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+verbatim-devel %{_description} + +This package contains library source intended for building other packages which +use the "verbatim" feature of the "%{crate}" crate. + +%files -n %{name}+verbatim-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 - 0.2.25-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Tue Nov 05 2024 Fabio Valentini - 0.2.25-1 +- Update to version 0.2.25; Fixes RHBZ#2319927 + +* Tue Sep 17 2024 Fabio Valentini - 0.2.22-1 +- Update to version 0.2.22; Fixes RHBZ#2307751 + +* Sat Jul 20 2024 Fedora Release Engineering - 0.2.20-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Tue May 07 2024 Jan Macku - 0.2.20-1 +- Update to version 0.2.20 + +* Tue Apr 23 2024 Fabio Valentini - 0.2.19-1 +- Update to version 0.2.19; Fixes RHBZ#2271353 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.2.16-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jan 03 2024 Fabio Valentini - 0.2.16-1 +- Update to version 0.2.16; Fixes RHBZ#2256414 + +* Fri Sep 15 2023 Fabio Valentini - 0.2.15-1 +- Update to version 0.2.15; Fixes RHBZ#2237046 + +* Fri Jul 21 2023 Fabio Valentini - 0.2.12-1 +- Update to version 0.2.12; Fixes RHBZ#2224455 + +* Wed Jul 05 2023 Fabio Valentini - 0.2.10-1 +- Update to version 0.2.10; Fixes RHBZ#2219690 + +* Fri Jun 23 2023 Fabio Valentini - 0.2.9-1 +- Update to version 0.2.9; Fixes RHBZ#2215660 + +* Mon May 29 2023 Fabio Valentini - 0.2.6-1 +- Update to version 0.2.6; Fixes RHBZ#2209377 + +* Sat May 20 2023 Fabio Valentini - 0.2.5-1 +- Update to version 0.2.5; Fixes RHBZ#2203584 + +* Tue Apr 18 2023 Fabio Valentini - 0.2.4-1 +- Update to version 0.2.4; Fixes RHBZ#2181060 + +* Wed Mar 15 2023 Fabio Valentini - 0.1.25-1 +- Update to version 0.1.25; Fixes RHBZ#2178370 + +* Mon Mar 06 2023 Fabio Valentini - 0.1.24-1 +- Update to version 0.1.24; Fixes RHBZ#2175579 + +* Sat Jan 21 2023 Fedora Release Engineering - 0.1.23-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jan 13 2023 Jan Macku - 0.1.23-1 +- Update to version 0.1.23 + +* Tue Dec 20 2022 Fabio Valentini - 0.1.22-1 +- Update to version 0.1.22; Fixes RHBZ#2154588 + +* Mon Oct 31 2022 Jan Macku - 0.1.21-1 +- Initial import +## END: Generated by rpmautospec