Update to version 1.0.5; Fixes RHBZ#2208770

epel10
Fabio Valentini 2 years ago
parent fd2062c70d
commit 389c8fd11d
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -1 +1,2 @@
/scratch-1.0.0.crate /scratch-1.0.0.crate
/scratch-1.0.5.crate

@ -1,3 +0,0 @@
# rust-scratch
Compile-time temporary directory shared by multiple crates

@ -1,29 +1,23 @@
# Generated by rust2rpm 16 # Generated by rust2rpm 24
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate scratch %global crate scratch
Name: rust-%{crate} Name: rust-scratch
Version: 1.0.0 Version: 1.0.5
Release: %autorelease Release: %autorelease
Summary: Shared compile-time directory Summary: Shared compile-time directory
# Upstream license specification: MIT OR Apache-2.0 License: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/scratch URL: https://crates.io/crates/scratch
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:
Compile-time temporary directory shared by multiple crates and erased by `cargo Compile-time temporary directory shared by multiple crates and erased by
clean`.} `cargo clean`.}
%description %{_description} %description %{_description}
@ -33,14 +27,14 @@ 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
%doc README.md %license %{crate_instdir}/LICENSE-APACHE
%license LICENSE-APACHE %license %{crate_instdir}/LICENSE-MIT
%license LICENSE-MIT %doc %{crate_instdir}/README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -48,28 +42,28 @@ 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
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires
%cargo_generate_buildrequires -a %cargo_generate_buildrequires
%build %build
%cargo_build -a %cargo_build
%install %install
%cargo_install -a %cargo_install
%if %{with check} %if %{with check}
%check %check
%cargo_test -a %cargo_test
%endif %endif
%changelog %changelog

@ -1 +1 @@
SHA512 (scratch-1.0.0.crate) = e2cdacb1af24b765ebd87ec8e2d87cacbd4f7ea154d90010735cfbaf166f2f6ecd0f42b8b5a7bc2db518cf7e2f304a2a6d5cc67da0e1d6f08d6dfd427646a747 SHA512 (scratch-1.0.5.crate) = 522e24868568e9e3c4c6a9b0af4e1890d5ca6753ea68660e13bdc95b98c30576058dc949d20a5df95a6313378083ca138c7bfbde5c60916a011cf9697180692d

Loading…
Cancel
Save