Update to version 2.5.0; Fixes RHBZ#2080657

epel9
Fabio Valentini 3 years ago
parent 94b6cfa6aa
commit 69ed4fae98
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -13,3 +13,4 @@
/memchr-2.3.4.crate /memchr-2.3.4.crate
/memchr-2.4.0.crate /memchr-2.4.0.crate
/memchr-2.4.1.crate /memchr-2.4.1.crate
/memchr-2.5.0.crate

@ -1,11 +1,10 @@
--- memchr-2.4.1/Cargo.toml 1970-01-01T00:00:01+00:00 --- memchr-2.5.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ memchr-2.4.1/Cargo.toml 2021-08-21T09:08:55.012961+00:00 +++ memchr-2.5.0/Cargo.toml 2022-05-12T13:17:45.620674+00:00
@@ -14,7 +14,7 @@ @@ -21,6 +21,7 @@
name = "memchr" "/bench",
version = "2.4.1" "/.github",
authors = ["Andrew Gallant <jamslam@gmail.com>", "bluss"] "/fuzz",
-exclude = ["/bench", "/.github", "/fuzz"] + "/scripts",
+exclude = ["/bench", "/.github", "/fuzz", "/scripts"] ]
description = "Safe interface to memchr." description = "Safe interface to memchr."
homepage = "https://github.com/BurntSushi/memchr" homepage = "https://github.com/BurntSushi/memchr"
documentation = "https://docs.rs/memchr/"

@ -1,11 +1,11 @@
# Generated by rust2rpm 18 # Generated by rust2rpm 21
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate memchr %global crate memchr
Name: rust-%{crate} Name: rust-%{crate}
Version: 2.4.1 Version: 2.5.0
Release: %autorelease Release: %autorelease
Summary: Safe interface to memchr Summary: Safe interface to memchr
@ -18,11 +18,8 @@ Source: %{crates_source}
Patch0: memchr-fix-metadata.diff Patch0: memchr-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
Safe interface to memchr.} Safe interface to memchr.}
@ -35,13 +32,15 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license UNLICENSE LICENSE-MIT COPYING %license %{crate_instdir}/COPYING
%doc README.md %license %{crate_instdir}/LICENSE-MIT
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %license %{crate_instdir}/UNLICENSE
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -49,11 +48,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+libc-devel %package -n %{name}+libc-devel
Summary: %{summary} Summary: %{summary}
@ -61,11 +60,11 @@ BuildArch: noarch
%description -n %{name}+libc-devel %{_description} %description -n %{name}+libc-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "libc" feature of "%{crate}" crate. use the "libc" feature of the "%{crate}" crate.
%files -n %{name}+libc-devel %files -n %{name}+libc-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
@ -73,11 +72,11 @@ BuildArch: noarch
%description -n %{name}+std-devel %{_description} %description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "std" feature of "%{crate}" crate. use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel %files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+use_std-devel %package -n %{name}+use_std-devel
Summary: %{summary} Summary: %{summary}
@ -85,11 +84,11 @@ BuildArch: noarch
%description -n %{name}+use_std-devel %{_description} %description -n %{name}+use_std-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "use_std" feature of "%{crate}" crate. use the "use_std" feature of the "%{crate}" crate.
%files -n %{name}+use_std-devel %files -n %{name}+use_std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (memchr-2.4.1.crate) = d8912e3902a2126f86159bdc998532a2890b882cbb7d59b5a470fffcad4c32281e045f2fff48a235aa4189f1928866bf3d33b699d50866ad6b6c272bba7adb11 SHA512 (memchr-2.5.0.crate) = 444a163b484c233e78c0e2e4d51f01ce2da93d7d29f516a95e4b0866b20bdfd3f34137653abed53eb70387991ee3e2b5937d8d4360a85bbcb50a93005a75defa

Loading…
Cancel
Save