diff --git a/gettext-rs-fix-metadata.diff b/gettext-rs-fix-metadata.diff new file mode 100644 index 0000000..8119054 --- /dev/null +++ b/gettext-rs-fix-metadata.diff @@ -0,0 +1,11 @@ +--- gettext-rs-0.4.4/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ gettext-rs-0.4.4/Cargo.toml 2020-02-21T01:27:24.097470+00:00 +@@ -29,7 +29,7 @@ + version = "0.19.9" + + [dependencies.locale_config] +-version = "0.2" ++version = "0.3" + + [features] + gettext-system = ["gettext-sys/gettext-system"] diff --git a/rust-gettext-rs.spec b/rust-gettext-rs.spec index 277b8c8..ca6b97f 100644 --- a/rust-gettext-rs.spec +++ b/rust-gettext-rs.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} @@ -13,6 +13,9 @@ Summary: GNU Gettext FFI binding for Rust License: MIT URL: https://crates.io/crates/gettext-rs Source: %{crates_source} +# Initial patched metadata +# * Bump to locale_config 0.3, https://github.com/Koka/gettext-rs/pull/20 +Patch0: gettext-rs-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -38,7 +41,7 @@ which use "%{crate}" crate. %files devel %license LICENSE.txt %doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -50,7 +53,7 @@ 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}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+gettext-system-devel Summary: %{summary} @@ -62,7 +65,7 @@ This package contains library source intended for building other packages which use "gettext-system" feature of "%{crate}" crate. %files -n %{name}+gettext-system-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -83,6 +86,9 @@ which use "gettext-system" feature of "%{crate}" crate. %endif %changelog +* Thu Feb 20 2020 Josh Stone - 0.4.4-2 +- Bump to locale_config 0.3 + * Thu Jan 30 2020 Fedora Release Engineering - 0.4.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild