|
|
|
@ -5,7 +5,7 @@
|
|
|
|
|
%global crate chrono
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.4.15
|
|
|
|
|
Version: 0.4.19
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Date and time library for Rust
|
|
|
|
|
|
|
|
|
@ -15,6 +15,7 @@ URL: https://crates.io/crates/chrono
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * No wasm
|
|
|
|
|
# * No windows
|
|
|
|
|
Patch0: chrono-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
@ -79,6 +80,30 @@ which use "clock" feature of "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+clock-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+libc-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+libc-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "libc" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+libc-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+oldtime-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+oldtime-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "oldtime" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+oldtime-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+pure-rust-locales-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -139,6 +164,18 @@ which use "time" feature of "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+time-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+unstable-locales-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+unstable-locales-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "unstable-locales" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+unstable-locales-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
@ -158,8 +195,8 @@ which use "time" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Sep 16 2020 Fabio Valentini <decathorpe@gmail.com> - 0.4.15-1
|
|
|
|
|
- Update to version 0.4.15.
|
|
|
|
|
* Thu Oct 01 2020 Fabio Valentini <decathorpe@gmail.com> - 0.4.19-1
|
|
|
|
|
- Update to version 0.4.19.
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.13-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|