Update to 0.6.1

Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
epel9
Michel Alexandre Salim 2 years ago
parent 0e2fc477de
commit 2e9355e1ab
No known key found for this signature in database
GPG Key ID: 8B229D2F7CCC04F2

1
.gitignore vendored

@ -1 +1,2 @@
/cursive_buffered_backend-0.5.0.crate
/cursive_buffered_backend-0.6.1.crate

@ -1,25 +1,19 @@
# Generated by rust2rpm 17
# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate cursive_buffered_backend
Name: rust-%{crate}
Version: 0.5.0
Name: rust-cursive_buffered_backend
Version: 0.6.1
Release: %autorelease
Summary: Buffering backend for any Cursive backend
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/cursive_buffered_backend
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
BuildRequires: sed
%global _description %{expand:
@ -33,13 +27,15 @@ 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
%license LICENSE
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%license %{crate_instdir}/LICENSE
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%doc %{crate_instdir}/ReleaseInstructions.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -47,17 +43,23 @@ 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
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
# Fix end of line encoding
sed -i 's/\r$//' README.md
for f in CHANGELOG.md LICENSE README.md ReleaseInstructions.md;
do
touch -r $f ${f}.tstamp
sed -i 's/\r$//' $f
touch -r ${f}.tstamp $f
rm ${f}.tstamp
done
%generate_buildrequires
%cargo_generate_buildrequires

@ -1 +1 @@
SHA512 (cursive_buffered_backend-0.5.0.crate) = 5128c6cc87aacbfe72cc3bf68b02e7b970367f10b3f2609523d1fea5012f9bc06e639ef9d7c9381b3f26ee254295042b0a5cad858461524502ece962490827d6
SHA512 (cursive_buffered_backend-0.6.1.crate) = 71d3e1512e8999b5d384a838f9f6b8b7779163b9e14232b2fa86737b475ad387e86672ed7445776cd26e0f8ca8d58666be259b59db0cfb292243f1d16226a7dd

Loading…
Cancel
Save