|
|
|
@ -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 <jistone@redhat.com> - 2.3.0-1
|
|
|
|
|
- Update to 2.3.0
|
|
|
|
|
|
|
|
|
|
* Fri Sep 13 21:01:59 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 2.2.1-3
|
|
|
|
|
- Bump quickcheck to 0.9
|
|
|
|
|
|
|
|
|
|