diff --git a/.gitignore b/.gitignore index 9397347..b2993a9 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /gif-0.11.2.crate /gif-0.11.3.crate /gif-0.11.4.crate +/gif-0.12.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index 3d6b5e5..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-gif - -The rust-gif package \ No newline at end of file diff --git a/gif-fix-metadata.diff b/gif-fix-metadata.diff deleted file mode 100644 index 88844cd..0000000 --- a/gif-fix-metadata.diff +++ /dev/null @@ -1,12 +0,0 @@ ---- gif-0.11.4/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ gif-0.11.4/Cargo.toml 2022-07-15T11:28:33.000904+00:00 -@@ -63,9 +63,6 @@ - [dependencies.weezl] - version = "0.1.5" - --[dev-dependencies.criterion] --version = "0.3.1" -- - [dev-dependencies.glob] - version = "0.3" - diff --git a/rust-gif.spec b/rust-gif.spec index b8685fd..7d0c60b 100644 --- a/rust-gif.spec +++ b/rust-gif.spec @@ -1,25 +1,19 @@ -# Generated by rust2rpm 21 -# * files required by tests are not included in published crates: -# https://github.com/PistonDevelopers/image-gif/issues/51 +# Generated by rust2rpm 24 +# * data files required by tests are not included in published crates %bcond_with check %global debug_package %{nil} %global crate gif -Name: rust-%{crate} -Version: 0.11.4 +Name: rust-gif +Version: 0.12.0 Release: %autorelease Summary: GIF de- and encoder # Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/gif Source: %{crates_source} -# Initial patched metadata -# * drop unused benchmark-only criterion dev-dependency to speed up builds -Patch0: gif-fix-metadata.diff - -ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21 @@ -56,6 +50,18 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+color_quant-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+color_quant-devel %{_description} + +This package contains library source intended for building other packages which +use the "color_quant" feature of the "%{crate}" crate. + +%files -n %{name}+color_quant-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+raii_no_panic-devel Summary: %{summary} BuildArch: noarch diff --git a/rust2rpm.conf b/rust2rpm.conf new file mode 100644 index 0000000..53959e7 --- /dev/null +++ b/rust2rpm.conf @@ -0,0 +1,2 @@ +[DEFAULT] +summary = GIF de- and encoder diff --git a/sources b/sources index 5c2d499..b494591 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gif-0.11.4.crate) = 3de0534b35bd783b54715e7f8a92f2d8a22934949627716cc3ade3c8036489d2b9604292eeeeced820b149865bc44a5de9d05700ebace073b48737759b5296b9 +SHA512 (gif-0.12.0.crate) = 9cee5c4f68b02252f6214fccabda29087c89cadd8408df4fb6b9479da7958a9759dfc4b13ad2bc7e1447be9050cea6d3757d891b774a7e6fe8c6fd25bca3b74a