diff --git a/.gitignore b/.gitignore index b643d42..6d14986 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /zoneinfo_compiled-0.4.7.crate +/zoneinfo_compiled-0.4.8.crate diff --git a/rust-zoneinfo_compiled.spec b/rust-zoneinfo_compiled.spec index 1634e11..dfc97da 100644 --- a/rust-zoneinfo_compiled.spec +++ b/rust-zoneinfo_compiled.spec @@ -1,31 +1,28 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 10 +%bcond_without check %global debug_package %{nil} %global crate zoneinfo_compiled Name: rust-%{crate} -Version: 0.4.7 -Release: 6%{?dist} +Version: 0.4.8 +Release: 1%{?dist} Summary: Library for parsing compiled zoneinfo files -# https://github.com/rust-datetime/zoneinfo-compiled/issues/1 +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/zoneinfo_compiled -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate -# Initial patched metadata -# * Bump byteorder to 1, https://github.com/rust-datetime/zoneinfo-compiled/pull/2 -Patch0: zoneinfo_compiled-fix-metadata.diff +Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(byteorder/default) >= 1.0.0 with crate(byteorder/default) < 2.0.0) -BuildRequires: (crate(datetime/default) >= 0.4.7 with crate(datetime/default) < 0.5.0) -%global _description \ -Library for parsing compiled zoneinfo files. +%global _description %{expand: +Library for parsing compiled zoneinfo files.} %description %{_description} @@ -39,6 +36,7 @@ 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}/ @@ -55,9 +53,12 @@ which use "default" feature of "%{crate}" crate. %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -70,6 +71,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Jul 14 19:20:30 CEST 2019 Igor Gnatenko - 0.4.8-1 +- Update to 0.4.8 + * Sat Feb 02 2019 Fedora Release Engineering - 0.4.7-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index f5139b3..9992c1b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zoneinfo_compiled-0.4.7.crate) = 5ca199532bccfd1e3e2bef62c009ae9164d6b07378d05db38aad84f65313f3f0f7921063f001128d4a57d08f8bd6d18c27f553cbcade7c488de652dd99d559cc +SHA512 (zoneinfo_compiled-0.4.8.crate) = e5337233b464cb97501a2694972a5707f6762ee567416bae876e0ee72aa0bb9cfd152a9253ba97c9fcb24a59e6b2fd5417d5567f7e17336ddc8dee121ba76589