From 54c42c97002eda18abe7dd6a36a7b46723f79a01 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 15:05:20 +0300 Subject: [PATCH] import rust-chrono-tz-0.10.0-1.el10 --- .gitignore | 1 + .rust-chrono-tz.metadata | 1 + SPECS/rust-chrono-tz.spec | 209 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 211 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-chrono-tz.metadata create mode 100644 SPECS/rust-chrono-tz.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d9b2547 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/chrono-tz-0.10.0.crate diff --git a/.rust-chrono-tz.metadata b/.rust-chrono-tz.metadata new file mode 100644 index 0000000..13eed37 --- /dev/null +++ b/.rust-chrono-tz.metadata @@ -0,0 +1 @@ +a07fc3eacdac07461b1d6b2d83921025c0f47410 SOURCES/chrono-tz-0.10.0.crate diff --git a/SPECS/rust-chrono-tz.spec b/SPECS/rust-chrono-tz.spec new file mode 100644 index 0000000..cf3209d --- /dev/null +++ b/SPECS/rust-chrono-tz.spec @@ -0,0 +1,209 @@ +## 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 27 +%bcond check 1 +%global debug_package %{nil} + +%global crate chrono-tz + +Name: rust-chrono-tz +Version: 0.10.0 +Release: %autorelease +Summary: TimeZone implementations for chrono from the IANA database + +# * chrono-tz code is MIT OR Apache-2.0 +# * bundled Olson timezone database is Public Domain +License: (MIT OR Apache-2.0) AND LicenseRef-Fedora-Public-Domain +URL: https://crates.io/crates/chrono-tz +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +TimeZone implementations for chrono from the IANA database.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch +Provides: bundled(tzdata) = 2024b + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE +%license %{crate_instdir}/tz/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}+arbitrary-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+arbitrary-devel %{_description} + +This package contains library source intended for building other packages which +use the "arbitrary" feature of the "%{crate}" crate. + +%files -n %{name}+arbitrary-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+case-insensitive-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+case-insensitive-devel %{_description} + +This package contains library source intended for building other packages which +use the "case-insensitive" feature of the "%{crate}" crate. + +%files -n %{name}+case-insensitive-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+filter-by-regex-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+filter-by-regex-devel %{_description} + +This package contains library source intended for building other packages which +use the "filter-by-regex" feature of the "%{crate}" crate. + +%files -n %{name}+filter-by-regex-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+serde-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. + +%files -n %{name}+serde-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 - 0.10.0-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sun Dec 08 2024 Fabio Valentini - 0.10.0-1 +- Update to version 0.10.0; Fixes RHBZ#2310854 + +* Fri Aug 23 2024 Benjamin A. Beasley - 0.9.0-1 +- Update to version 0.9.0; Fixes RHBZ#2273630 + +* Fri Jul 19 2024 Fedora Release Engineering - 0.8.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Wed Feb 14 2024 Fabio Valentini - 0.8.6-1 +- Update to version 0.8.6; Fixes RHBZ#2263829 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.8.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Dec 31 2023 Fabio Valentini - 0.8.5-1 +- Update to version 0.8.5; Fixes RHBZ#2256168 + +* Fri Nov 17 2023 Fabio Valentini - 0.8.4-1 +- Update to version 0.8.4; Fixes RHBZ#2246959 + +* Thu Aug 31 2023 Fabio Valentini - 0.8.3-1 +- Update to version 0.8.3; Fixes RHBZ#2005995 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.5.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jan 20 2023 Fedora Release Engineering - 0.5.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.5.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.5.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.5.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 0.5.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Sep 16 2020 Fabio Valentini - 0.5.3-1 +- Update to version 0.5.3. + +* Wed Jul 29 2020 Fedora Release Engineering - 0.5.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jun 10 2020 Josh Stone - 0.5.2-1 +- Update to 0.5.2 + +* Wed Feb 19 09:02:23 CET 2020 Igor Raits - 0.5.1-4 +- Fix FTBFS + +* Thu Jan 30 2020 Fedora Release Engineering - 0.5.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Tue Nov 12 07:43:37 CET 2019 Igor Gnatenko - 0.5.1-2 +- Remove all unneeded files from tz + +* Tue Nov 05 23:23:40 EET 2019 Artem Polishchuk - 0.5.1-1 +- Initial package + +## END: Generated by rpmautospec