diff --git a/.gitignore b/.gitignore index 87d81fb..6df71ef 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /libz-sys-1.1.2.crate /libz-sys-1.1.3.crate /libz-sys-1.1.5.crate +/libz-sys-1.1.6.crate diff --git a/libz-sys-fix-metadata.diff b/libz-sys-fix-metadata.diff index bb24883..87e7bea 100644 --- a/libz-sys-fix-metadata.diff +++ b/libz-sys-fix-metadata.diff @@ -1,6 +1,6 @@ ---- libz-sys-1.1.5/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ libz-sys-1.1.5/Cargo.toml 2022-03-31T09:21:24.052708+00:00 -@@ -27,18 +27,9 @@ +--- libz-sys-1.1.6/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ libz-sys-1.1.6/Cargo.toml 2022-05-12T13:48:52.315456+00:00 +@@ -40,25 +40,12 @@ [build-dependencies.cc] version = "1.0.18" @@ -13,9 +13,16 @@ [features] -asm = [] - default = ["libc", "stock-zlib"] + default = [ + "libc", + "stock-zlib", + ] -static = [] stock-zlib = [] --zlib-ng = ["libc", "cmake"] +-zlib-ng = [ +- "libc", +- "cmake", +-] +- -[target."cfg(target_env = \"msvc\")".build-dependencies.vcpkg] -version = "0.2" diff --git a/rust-libz-sys.spec b/rust-libz-sys.spec index 33f402d..3926fd8 100644 --- a/rust-libz-sys.spec +++ b/rust-libz-sys.spec @@ -5,7 +5,7 @@ %global crate libz-sys Name: rust-%{crate} -Version: 1.1.5 +Version: 1.1.6 Release: %autorelease Summary: Low-level bindings to the system libz library (also known as zlib) @@ -81,9 +81,9 @@ use the "stock-zlib" feature of the "%{crate}" crate. %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 -# No bundled libs -rm -vrf src/zlib/ -rm -vrf src/zlib-ng/ +# remove bundled zlib and zlib-ng sources +rm -r src/zlib/ +rm -r src/zlib-ng/ %cargo_prep %generate_buildrequires diff --git a/sources b/sources index cded9cc..075e36f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libz-sys-1.1.5.crate) = 51ac64c26df57d91f4b7e089600e283354ebf636d8a50ff530ddb031ad0eb74601aca687a087f9e7f51f2b00187d8daa03ca2999ea48ea274c87ad8c7ba8d9ac +SHA512 (libz-sys-1.1.6.crate) = 18fd3800c38444aef381f7b360b9cd46678c560b46e7c5a286989fb9e689f2447e84f29e4ce195c1b8c2a89584eaee838c175821335accd13bd8d4483c3b099e