Update to version 0.8.3; Fixes RHBZ#2005995

epel10
Fabio Valentini 1 year ago
parent 59d7cef52b
commit 53c27c56b0
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -1,3 +1,4 @@
/chrono-tz-0.5.1.crate /chrono-tz-0.5.1.crate
/chrono-tz-0.5.2.crate /chrono-tz-0.5.2.crate
/chrono-tz-0.5.3.crate /chrono-tz-0.5.3.crate
/chrono-tz-0.8.3.crate

@ -1,3 +0,0 @@
# rust-chrono-tz
The rust-chrono-tz package

@ -1,46 +1,42 @@
# Generated by rust2rpm 13 # Generated by rust2rpm 24
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate chrono-tz %global crate chrono-tz
Name: rust-%{crate} Name: rust-chrono-tz
Version: 0.5.3 Version: 0.8.3
Release: %autorelease Release: %autorelease
Summary: TimeZone implementations for rust-chrono from the IANA database Summary: TimeZone implementations for chrono from the IANA database
# Upstream license specification: MIT/Apache-2.0 # * chrono-tz code is MIT OR Apache-2.0
# tz/* is under Public Domain # * bundled Olson timezone database is Public Domain
License: (MIT or ASL 2.0) and Public Domain License: (MIT OR Apache-2.0) AND LicenseRef-Fedora-Public-Domain
URL: https://crates.io/crates/chrono-tz URL: https://crates.io/crates/chrono-tz
Source: %{crates_source} Source: %{crates_source}
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
TimeZone implementations for rust-chrono from the IANA database.} TimeZone implementations for chrono from the IANA database.}
%description %{_description} %description %{_description}
%package devel %package devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
Provides: bundled(tzdata) = 2020a Provides: bundled(tzdata) = 2023c
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE %license %{crate_instdir}/LICENSE
%doc README.md %license %{crate_instdir}/tz/LICENSE
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -48,11 +44,47 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %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 %package -n %{name}+serde-devel
Summary: %{summary} Summary: %{summary}
@ -60,11 +92,11 @@ BuildArch: noarch
%description -n %{name}+serde-devel %{_description} %description -n %{name}+serde-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "serde" feature of "%{crate}" crate. use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-devel %files -n %{name}+serde-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
@ -72,18 +104,26 @@ BuildArch: noarch
%description -n %{name}+std-devel %{_description} %description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "std" feature of "%{crate}" crate. use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel %files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+uncased-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+uncased-devel %{_description}
This package contains library source intended for building other packages which
use the "uncased" feature of the "%{crate}" crate.
%files -n %{name}+uncased-devel
%ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
mkdir .tmp
mv $(grep -Po '"\Ktz/[^"]+' build.rs) .tmp
rm -rf tz
mv .tmp tz
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

@ -1 +1 @@
SHA512 (chrono-tz-0.5.3.crate) = c1f25caeeb0bf013a500476ffe67a42438d08d05984c5cc04b6499cb31fde48e05c51b88bbef8b2309c18871b8cdb62815eecd3b4bc1f704af0d6309c2d034f5 SHA512 (chrono-tz-0.8.3.crate) = 85f1093edebe08515d0b8f11a9a5ab8b9fac57527cc404f5914dd5d1796e0007ca596d7057d158e915b85619bb80939c097ee4beaf6a76b9794cea1459f8d86e

Loading…
Cancel
Save