From c35d60b0753cdf60fd80fa0ea817df2d103f4a0f Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Jan 16 2020 00:09:43 +0000 Subject: Update to 2.3.0 --- diff --git a/.gitignore b/.gitignore index ac77b52..1cb3d51 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /memchr-2.1.3.crate /memchr-2.2.0.crate /memchr-2.2.1.crate +/memchr-2.3.0.crate diff --git a/memchr-fix-metadata.diff b/memchr-fix-metadata.diff deleted file mode 100644 index 0ce296c..0000000 --- a/memchr-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- memchr-2.2.1/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ memchr-2.2.1/Cargo.toml 2019-09-13T19:01:59.728005+00:00 -@@ -33,7 +33,7 @@ - optional = true - default-features = false - [dev-dependencies.quickcheck] --version = "0.8" -+version = "0.9" - default-features = false - - [features] diff --git a/rust-memchr.spec b/rust-memchr.spec index bc18b1b..7fd0e87 100644 --- a/rust-memchr.spec +++ b/rust-memchr.spec @@ -1,21 +1,18 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} %global crate memchr Name: rust-%{crate} -Version: 2.2.1 -Release: 3%{?dist} +Version: 2.3.0 +Release: 1%{?dist} Summary: Safe interface to memchr # Upstream license specification: Unlicense/MIT License: Unlicense or MIT URL: https://crates.io/crates/memchr Source: %{crates_source} -# Initial patched metadata -# - Bump quickcheck to 0.9 https://github.com/BurntSushi/rust-memchr/pull/59 -Patch0: memchr-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -41,7 +38,7 @@ which use "%{crate}" crate. %files devel %license UNLICENSE LICENSE-MIT COPYING %doc README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -53,7 +50,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}+libc-devel Summary: %{summary} @@ -65,7 +62,19 @@ This package contains library source intended for building other packages which use "libc" feature of "%{crate}" crate. %files -n %{name}+libc-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages +which use "std" feature of "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+use_std-devel Summary: %{summary} @@ -77,7 +86,7 @@ This package contains library source intended for building other packages which use "use_std" feature of "%{crate}" crate. %files -n %{name}+use_std-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 @@ -98,6 +107,9 @@ which use "use_std" feature of "%{crate}" crate. %endif %changelog +* Thu Jan 16 2020 Josh Stone - 2.3.0-1 +- Update to 2.3.0 + * Fri Sep 13 21:01:59 CEST 2019 Robert-André Mauchin - 2.2.1-3 - Bump quickcheck to 0.9 diff --git a/sources b/sources index 52182fe..f555583 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (memchr-2.2.1.crate) = 0f5e11507a4235edaa8ef639753abf62f1c187c8c6e35b0c80c9306958e41893492d4995e28bf28e5710e8739c7e75bb75a515507ec87870741a3b426ba8f44d +SHA512 (memchr-2.3.0.crate) = 7ae3b3ce6a5d80e7b6c078486d5bbd5ddfea7c7aae187804f76eeb52ae02527b54f88fa6201e380b0b169f2780355ddb3012f270098373f2f2ae354a87738c74