diff --git a/rust-tabwriter.spec b/rust-tabwriter.spec index 1ae849f..cb5d538 100644 --- a/rust-tabwriter.spec +++ b/rust-tabwriter.spec @@ -6,19 +6,22 @@ Name: rust-%{crate} Version: 1.0.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Elastic tabstops License: Unlicense or MIT URL: https://crates.io/crates/tabwriter Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Bump regex to 1, https://github.com/BurntSushi/tabwriter/pull/18 +Patch0: tabwriter-1.0.4-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging # [dependencies] BuildRequires: (crate(lazy_static) >= 1.0.0 with crate(lazy_static) < 2.0.0) -BuildRequires: (crate(regex) >= 0.2.1 with crate(regex) < 0.3.0) +BuildRequires: (crate(regex) >= 1.0.0 with crate(regex) < 2.0.0) BuildRequires: (crate(unicode-width) >= 0.1.0 with crate(unicode-width) < 0.2.0) %description @@ -56,6 +59,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/{Makefile,session.vim} %changelog +* Thu Jun 14 2018 Igor Gnatenko - 1.0.4-2 +- Bump regex to 1 + * Thu Mar 08 2018 Josh Stone - 1.0.4-1 - Update to 1.0.4 diff --git a/tabwriter-1.0.4-fix-metadata.diff b/tabwriter-1.0.4-fix-metadata.diff new file mode 100644 index 0000000..014c4d4 --- /dev/null +++ b/tabwriter-1.0.4-fix-metadata.diff @@ -0,0 +1,11 @@ +--- tabwriter-1.0.4/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ tabwriter-1.0.4/Cargo.toml 2018-06-14T08:15:47.566566+02:00 +@@ -26,7 +26,7 @@ + optional = true + + [dependencies.regex] +-version = "^0.2.1" ++version = "1" + optional = true + + [dependencies.unicode-width]