diff --git a/.gitignore b/.gitignore index 19eb526..12601e2 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /iso8601-0.2.0.crate +/iso8601-0.3.0.crate diff --git a/iso8601-fix-metadata.diff b/iso8601-fix-metadata.diff deleted file mode 100644 index 62b4c69..0000000 --- a/iso8601-fix-metadata.diff +++ /dev/null @@ -1,13 +0,0 @@ ---- iso8601-0.2.0/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ iso8601-0.2.0/Cargo.toml 2018-11-14T11:45:22.909557+01:00 -@@ -20,10 +20,6 @@ - readme = "README.md" - license = "MIT" - repository = "https://github.com/badboy/iso8601" --[dependencies.clippy] --version = ">0.0.0" --optional = true -- - [dependencies.nom] - version = "3.2" - diff --git a/rust-iso8601.spec b/rust-iso8601.spec index c0bd556..ebbae21 100644 --- a/rust-iso8601.spec +++ b/rust-iso8601.spec @@ -6,21 +6,18 @@ %global crate iso8601 Name: rust-%{crate} -Version: 0.2.0 -Release: 8%{?dist} +Version: 0.3.0 +Release: 1%{?dist} Summary: Parsing ISO8601 dates using nom License: MIT URL: https://crates.io/crates/iso8601 -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate -# Initial patched metadata -# * No clippy -Patch0: iso8601-fix-metadata.diff +Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging -BuildRequires: (crate(nom/default) >= 3.2.0 with crate(nom/default) < 4.0.0) +BuildRequires: (crate(nom/default) >= 4.0.0 with crate(nom/default) < 5.0.0) %global _description \ Parsing ISO8601 dates using nom. @@ -54,7 +51,7 @@ 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 %build @@ -69,6 +66,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Feb 10 2019 Igor Gnatenko - 0.3.0-1 +- Update to 0.3.0 + * Sat Feb 02 2019 Fedora Release Engineering - 0.2.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 4206431..eb7a237 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (iso8601-0.2.0.crate) = d7968d24a365cbf353d46454b64b15bb834b5afd06c027a0630e409c9224988fcef7fd4727351b0b0336d131e65928466751f006e4550c80945118d550618805 +SHA512 (iso8601-0.3.0.crate) = c1a837e1fa6899c5f53cc5a29f47a0b5fac5b12095c6cb6ed6867dd5e7f226477983fb3b692b9370755addf060503bf812a06e198cfa7f589adaa9ac5e05287a