# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} %global crate chrono Name: rust-%{crate} Version: 0.4.19 Release: 4%{?dist} Summary: Date and time library for Rust # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/chrono Source: %{crates_source} # Initial patched metadata # * No wasm # * No windows Patch0: chrono-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif BuildRequires: rust-packaging %global _description %{expand: Date and time library for Rust.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use "%{crate}" crate. %files devel %license LICENSE.txt %doc README.md CHANGELOG.md AUTHORS.txt %{cargo_registry}/%{crate}-%{version_no_tilde}/ %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 "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+alloc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+alloc-devel %{_description} This package contains library source intended for building other packages which use "alloc" feature of "%{crate}" crate. %files -n %{name}+alloc-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+clock-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+clock-devel %{_description} This package contains library source intended for building other packages 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 %description -n %{name}+pure-rust-locales-devel %{_description} This package contains library source intended for building other packages which use "pure-rust-locales" feature of "%{crate}" crate. %files -n %{name}+pure-rust-locales-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+rustc-serialize-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rustc-serialize-devel %{_description} This package contains library source intended for building other packages which use "rustc-serialize" feature of "%{crate}" crate. %files -n %{name}+rustc-serialize-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "serde" feature of "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "std" feature of "%{crate}" crate. %files -n %{name}+std-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+time-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+time-devel %{_description} This package contains library source intended for building other packages 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 %generate_buildrequires %cargo_generate_buildrequires -a %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test -a %endif %changelog * Fri Jan 21 2022 Fedora Release Engineering - 0.4.19-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.4.19-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.4.19-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Oct 01 2020 Fabio Valentini - 0.4.19-1 - Update to version 0.4.19. * Wed Jul 29 2020 Fedora Release Engineering - 0.4.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 10 2020 Josh Stone - 0.4.13-1 - Update to 0.4.13 * Tue Mar 10 2020 Josh Stone - 0.4.11-1 - Update to 0.4.11 * Tue Feb 18 16:57:46 CET 2020 Igor Raits - 0.4.10-4 - Fix FTBFS, take two * Tue Feb 18 16:29:36 CET 2020 Igor Raits - 0.4.10-3 - Fix FTBFS * Thu Jan 30 2020 Fedora Release Engineering - 0.4.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Dec 02 11:03:49 CET 2019 Igor Gnatenko - 0.4.10-1 - Update to 0.4.10 * Fri Nov 01 14:12:37 CET 2019 Igor Gnatenko - 0.4.9-1 - Update to 0.4.9 * Sun Sep 01 17:08:26 CEST 2019 Igor Gnatenko - 0.4.8-1 - Update to 0.4.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.4.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Jun 25 08:23:16 CEST 2019 Igor Gnatenko - 0.4.7-1 - Update to 0.4.7 * Fri Jun 21 20:15:18 CEST 2019 Igor Gnatenko - 0.4.6-7 - Regenerate * Tue Jun 11 22:50:13 CEST 2019 Igor Gnatenko - 0.4.6-6 - Rebuild with tests * Sun Jun 09 21:35:37 CEST 2019 Igor Gnatenko - 0.4.6-5 - Regenerate * Sun Mar 10 2019 Igor Gnatenko - 0.4.6-4 - Do not pull optional dependencies * Sat Feb 02 2019 Fedora Release Engineering - 0.4.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Oct 31 2018 Igor Gnatenko - 0.4.6-2 - Adapt to new packaging * Thu Aug 30 2018 Josh Stone - 0.4.6-1 - Update to 0.4.6 * Sun Jul 29 2018 Igor Gnatenko - 0.4.5-1 - Update to 0.4.5 * Sat Jul 28 2018 Igor Gnatenko - 0.4.4-3 - Rebuild to trigger tests * Sat Jul 14 2018 Fedora Release Engineering - 0.4.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Jun 24 2018 Igor Gnatenko - 0.4.4-1 - Update to 0.4.4 * Mon Jun 11 2018 Igor Gnatenko - 0.4.3-1 - Update to 0.4.3 * Fri Apr 13 2018 Igor Gnatenko - 0.4.2-1 - Update to 0.4.2 * Wed Mar 28 2018 Josh Stone - 0.4.1-1 - Update to 0.4.1 * Fri Feb 09 2018 Fedora Release Engineering - 0.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 08 2018 Igor Gnatenko - 0.4.0-3 - Rebuild for rust-packaging v5 * Thu Nov 16 2017 Igor Gnatenko - 0.4.0-2 - Exclude unneeded files * Mon Jun 26 2017 Igor Gnatenko - 0.4.0-1 - Update to 0.4.0 * Fri Jun 16 2017 Igor Gnatenko - 0.3.1-1 - Initial package