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

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

Loading…
Cancel
Save