diff --git a/.gitignore b/.gitignore index 8834c69..be3d35a 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /zip-0.5.12.crate /zip-0.5.13.crate /zip-0.6.4.crate +/zip-0.6.6.crate diff --git a/rust-zip.spec b/rust-zip.spec index 9614c53..6da131b 100644 --- a/rust-zip.spec +++ b/rust-zip.spec @@ -5,7 +5,7 @@ %global crate zip Name: rust-zip -Version: 0.6.4 +Version: 0.6.6 Release: %autorelease Summary: Library to support the reading and writing of zip files @@ -225,17 +225,17 @@ use the "zstd" feature of the "%{crate}" crate. %cargo_prep %generate_buildrequires -%cargo_generate_buildrequires +%cargo_generate_buildrequires -a %build -%cargo_build +%cargo_build -a %install -%cargo_install +%cargo_install -a %if %{with check} %check -%cargo_test +%cargo_test -a %endif %changelog diff --git a/rust2rpm.conf b/rust2rpm.conf new file mode 100644 index 0000000..f626714 --- /dev/null +++ b/rust2rpm.conf @@ -0,0 +1,2 @@ +[DEFAULT] +all-features = true diff --git a/sources b/sources index dc0b35c..b0f021f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zip-0.6.4.crate) = 29392175711fb8585d400f99798596e10415423b3fda245069ca3144bce4b1027db845526c233bcf8be13b756e9605df21657bd2b5713339adeb334fe964ff8e +SHA512 (zip-0.6.6.crate) = affd46c17ceaa0545a155250dfd16756f8706dda43bae8a322ec0481dbfb41e4cf3166bf9662fc139ef9d0ab3b0f9f158535b21d2a61b21d38b8b2407813eeef diff --git a/zip-fix-metadata.diff b/zip-fix-metadata.diff index ff68961..dce225c 100644 --- a/zip-fix-metadata.diff +++ b/zip-fix-metadata.diff @@ -1,6 +1,6 @@ ---- zip-0.6.4/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ zip-0.6.4/Cargo.toml 2023-04-15T11:49:45.631984+00:00 -@@ -49,7 +49,7 @@ +--- zip-0.6.6/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ zip-0.6.6/Cargo.toml 2023-05-17T12:54:04.038663+00:00 +@@ -50,7 +50,7 @@ optional = true [dependencies.constant_time_eq] @@ -9,7 +9,7 @@ optional = true [dependencies.crc32fast] -@@ -80,7 +80,7 @@ +@@ -81,7 +81,7 @@ default-features = false [dependencies.zstd]