diff --git a/.gitignore b/.gitignore index ce172b1..43c2401 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /flate2-1.0.9.crate /flate2-1.0.11.crate /flate2-1.0.13.crate +/flate2-1.0.14.crate diff --git a/flate2-fix-metadata.diff b/flate2-fix-metadata.diff index 5af989d..a247fd5 100644 --- a/flate2-fix-metadata.diff +++ b/flate2-fix-metadata.diff @@ -1,9 +1,25 @@ ---- flate2-1.0.13/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ flate2-1.0.13/Cargo.toml 2019-11-19T20:10:38.785347+00:00 -@@ -75,8 +75,6 @@ +--- flate2-1.0.14/Cargo.toml 2020-03-17T14:09:08+00:00 ++++ flate2-1.0.14/Cargo.toml 2020-03-17T22:56:12.104517+00:00 +@@ -25,10 +25,6 @@ + repository = "https://github.com/alexcrichton/flate2-rs" + [dependencies.cfg-if] + version = "0.1.6" +- +-[dependencies.cloudflare-zlib-sys] +-version = "0.2.0" +-optional = true + + [dependencies.crc32fast] + version = "1.2.0" +@@ -76,13 +72,10 @@ + + [features] + any_zlib = [] +-cloudflare_zlib = ["any_zlib", "cloudflare-zlib-sys"] + default = ["rust_backend"] rust_backend = ["miniz_oxide"] tokio = ["tokio-io", "futures"] - zlib = ["libz-sys"] + zlib = ["any_zlib", "libz-sys"] -[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"emscripten\")))".dependencies.miniz_oxide] -version = "0.3.5" [badges.appveyor] diff --git a/rust-flate2.spec b/rust-flate2.spec index 5b01401..dc33e12 100644 --- a/rust-flate2.spec +++ b/rust-flate2.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} %global crate flate2 Name: rust-%{crate} -Version: 1.0.13 -Release: 2%{?dist} +Version: 1.0.14 +Release: 1%{?dist} Summary: DEFLATE compression and decompression exposed as Reader/Writer streams # Upstream license specification: MIT/Apache-2.0 @@ -43,7 +43,7 @@ which use "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE %doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -55,7 +55,19 @@ 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}+any_zlib-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+any_zlib-devel %{_description} + +This package contains library source intended for building other packages +which use "any_zlib" feature of "%{crate}" crate. + +%files -n %{name}+any_zlib-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+futures-devel Summary: %{summary} @@ -67,7 +79,7 @@ This package contains library source intended for building other packages which use "futures" feature of "%{crate}" crate. %files -n %{name}+futures-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+libz-sys-devel Summary: %{summary} @@ -79,7 +91,7 @@ This package contains library source intended for building other packages which use "libz-sys" feature of "%{crate}" crate. %files -n %{name}+libz-sys-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+miniz-sys-devel Summary: %{summary} @@ -91,7 +103,7 @@ This package contains library source intended for building other packages which use "miniz-sys" feature of "%{crate}" crate. %files -n %{name}+miniz-sys-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+miniz_oxide-devel Summary: %{summary} @@ -103,7 +115,7 @@ This package contains library source intended for building other packages which use "miniz_oxide" feature of "%{crate}" crate. %files -n %{name}+miniz_oxide-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+rust_backend-devel Summary: %{summary} @@ -115,7 +127,7 @@ This package contains library source intended for building other packages which use "rust_backend" feature of "%{crate}" crate. %files -n %{name}+rust_backend-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+tokio-devel Summary: %{summary} @@ -127,7 +139,7 @@ This package contains library source intended for building other packages which use "tokio" feature of "%{crate}" crate. %files -n %{name}+tokio-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+tokio-io-devel Summary: %{summary} @@ -139,7 +151,7 @@ This package contains library source intended for building other packages which use "tokio-io" feature of "%{crate}" crate. %files -n %{name}+tokio-io-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+zlib-devel Summary: %{summary} @@ -151,7 +163,7 @@ This package contains library source intended for building other packages which use "zlib" feature of "%{crate}" crate. %files -n %{name}+zlib-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 @@ -172,6 +184,9 @@ which use "zlib" feature of "%{crate}" crate. %endif %changelog +* Tue Mar 17 2020 Josh Stone - 1.0.14-1 +- Update to 1.0.14 + * Thu Jan 30 2020 Fedora Release Engineering - 1.0.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 4691d95..1773770 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (flate2-1.0.13.crate) = 4b3b9e9a9251f0158aa89e4ccd65aef07a48afabe2323a2edc402f36404b632fe47df418d597de1de66898808d88f765444198cfe16ca228ac20406dcd158089 +SHA512 (flate2-1.0.14.crate) = d70ee34d21b345529149b95000692e2dc590e14924d862cefdf926e77bb6e2572a99d0cea76fc0661d1149730cb3914598c1f500bd09661338713894b9a19152