diff --git a/rust-version-sync.spec b/rust-version-sync.spec index d72f52f..3ba7255 100644 --- a/rust-version-sync.spec +++ b/rust-version-sync.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm +# Generated by rust2rpm 9 %bcond_with check %global debug_package %{nil} @@ -6,12 +6,16 @@ Name: rust-%{crate} Version: 0.8.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Simple crate for ensuring that version numbers in README files are updated +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/version-sync Source: %{crates_source} +# Initial patched metadata +# * Update pulldown-cmark to 0.5, https://github.com/mgeisler/version-sync/pull/70 +Patch0: version-sync-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -19,7 +23,7 @@ BuildRequires: rust-packaging BuildRequires: (crate(itertools/default) >= 0.8.0 with crate(itertools/default) < 0.9.0) BuildRequires: (crate(proc-macro2/default) >= 0.4.0 with crate(proc-macro2/default) < 0.5.0) BuildRequires: (crate(proc-macro2/span-locations) >= 0.4.0 with crate(proc-macro2/span-locations) < 0.5.0) -BuildRequires: (crate(pulldown-cmark) >= 0.4.0 with crate(pulldown-cmark) < 0.5.0) +BuildRequires: (crate(pulldown-cmark) >= 0.5.0 with crate(pulldown-cmark) < 0.6.0) BuildRequires: (crate(regex/default) >= 1.1.0 with crate(regex/default) < 2.0.0) BuildRequires: (crate(semver-parser/default) >= 0.9.0 with crate(semver-parser/default) < 0.10.0) BuildRequires: (crate(syn/default) >= 0.15.0 with crate(syn/default) < 0.16.0) @@ -27,9 +31,9 @@ BuildRequires: (crate(syn/full) >= 0.15.0 with crate(syn/full) < 0.16.0) BuildRequires: (crate(toml/default) >= 0.5.0 with crate(toml/default) < 0.6.0) BuildRequires: (crate(url/default) >= 1.0.0 with crate(url/default) < 2.0.0) -%global _description \ -Simple crate for ensuring that version numbers in README files are updated when\ -the crate version changes. +%global _description %{expand: +Simple crate for ensuring that version numbers in README files are updated when +the crate version changes.} %description %{_description} @@ -75,6 +79,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Fri May 31 15:38:53 CEST 2019 Igor Gnatenko - 0.8.1-2 +- Update pulldown-cmark to 0.5 + * Thu Apr 04 08:15:21 CEST 2019 Igor Gnatenko - 0.8.1-1 - Update to 0.8.1 diff --git a/version-sync-fix-metadata.diff b/version-sync-fix-metadata.diff new file mode 100644 index 0000000..59c6762 --- /dev/null +++ b/version-sync-fix-metadata.diff @@ -0,0 +1,11 @@ +--- version-sync-0.8.1/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ version-sync-0.8.1/Cargo.toml 2019-05-31T13:38:52.929108+00:00 +@@ -31,7 +31,7 @@ + features = ["span-locations"] + + [dependencies.pulldown-cmark] +-version = "0.4" ++version = "0.5" + default-features = false + + [dependencies.regex]