Update to version 0.5.1; Fixes RHBZ#1943994

epel9
Fabio Valentini 2 years ago
parent 1afbf8ef17
commit bbb911d4f5
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -2,3 +2,4 @@
/*.src.rpm /*.src.rpm
/wyz-0.2.0.crate /wyz-0.2.0.crate
/wyz-0.5.1.crate

@ -1,26 +1,19 @@
# Generated by rust2rpm 16 # Generated by rust2rpm 24
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate wyz %global crate wyz
Name: rust-%{crate} Name: rust-wyz
Version: 0.2.0 Version: 0.5.1
Release: %autorelease Release: %autorelease
Summary: Myrrlyns utility collection Summary: Myrrlyns utility collection
# Upstream license specification: MIT
# https://github.com/myrrlyn/wyz/issues/2
License: MIT License: MIT
URL: https://crates.io/crates/wyz URL: https://crates.io/crates/wyz
Source: %{crates_source} Source: %{crates_source}
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Myrrlyns utility collection.} Myrrlyns utility collection.}
@ -33,11 +26,13 @@ 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
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %license %{crate_instdir}/LICENSE.txt
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -45,11 +40,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}+alloc-devel %package -n %{name}+alloc-devel
Summary: %{summary} Summary: %{summary}
@ -57,11 +52,35 @@ BuildArch: noarch
%description -n %{name}+alloc-devel %{_description} %description -n %{name}+alloc-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 "alloc" feature of "%{crate}" crate. use the "alloc" feature of the "%{crate}" crate.
%files -n %{name}+alloc-devel %files -n %{name}+alloc-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+garbage-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+garbage-devel %{_description}
This package contains library source intended for building other packages which
use the "garbage" feature of the "%{crate}" crate.
%files -n %{name}+garbage-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+once_cell-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+once_cell-devel %{_description}
This package contains library source intended for building other packages which
use the "once_cell" feature of the "%{crate}" crate.
%files -n %{name}+once_cell-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
@ -69,11 +88,23 @@ 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}+typemap-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+typemap-devel %{_description}
This package contains library source intended for building other packages which
use the "typemap" feature of the "%{crate}" crate.
%files -n %{name}+typemap-devel
%ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
@ -90,8 +121,7 @@ which use "std" feature of "%{crate}" crate.
%if %{with check} %if %{with check}
%check %check
# * doctests seem to be broken with Rust 1.58+ for unknown reasons %cargo_test
%cargo_test -- --lib
%endif %endif
%changelog %changelog

@ -1 +1 @@
SHA512 (wyz-0.2.0.crate) = 3a16c3e81d3595ddf1e7816e698eb4d07c7455dec579fd5e97b5d8b77e626cda52f3cdaee71e234e5e500a7ac58b9d1d5f12b17264686f3f225d5e5b0d315de7 SHA512 (wyz-0.5.1.crate) = 15d86c167145c90e3fbabcefd11754fb1cb835896e32d1bb7f4b027e5b2092f5fdbdca4062c129bc38e655cb87c6a3f4e181747ee25d89db5e01fb1fcac18fe9

Loading…
Cancel
Save