|
|
|
@ -1,16 +1,15 @@
|
|
|
|
|
# Generated by rust2rpm 13
|
|
|
|
|
# Generated by rust2rpm 17
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate datetime
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.5.1
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 0.5.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Library for date and time formatting and arithmetic
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
|
# https://github.com/rust-datetime/datetime/pull/29
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://crates.io/crates/datetime
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
@ -41,6 +40,8 @@ This package contains library source intended for building other packages
|
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%license LICENCE
|
|
|
|
|
%doc README.md
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
@ -91,18 +92,6 @@ which use "locale" feature of "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+locale-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+num-traits-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+num-traits-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "num-traits" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+num-traits-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+pad-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -129,6 +118,8 @@ which use "parse" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
# exclude executable file that causes an unnecessary ruby dependency
|
|
|
|
|
rm tests/generate_tests.rb
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
@ -146,6 +137,10 @@ which use "parse" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Apr 30 2021 Fabio Valentini <decathorpe@gmail.com> - 0.5.2-1
|
|
|
|
|
- Update to version 0.5.2.
|
|
|
|
|
- Fixes RHBZ#1945691
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|