Update to version 1.7.0; Fixes RHBZ#2066585

epel9
Fabio Valentini 3 years ago
parent e422bc70c1
commit b5834f47c6
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -3,3 +3,4 @@
/relative-path-1.5.0.crate
/relative-path-1.6.0.crate
/relative-path-1.6.1.crate
/relative-path-1.7.0.crate

@ -1,11 +1,11 @@
# Generated by rust2rpm 20
# Generated by rust2rpm 21
%bcond_without check
%global debug_package %{nil}
%global crate relative-path
Name: rust-%{crate}
Version: 1.6.1
Version: 1.7.0
Release: %autorelease
Summary: Portable, relative paths for Rust
@ -16,7 +16,7 @@ Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Portable, relative paths for Rust.}
@ -33,9 +33,11 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license LICENSE-APACHE LICENSE-MIT
%doc CHANGELOG.md README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -47,7 +49,7 @@ 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}+ci-devel
Summary: %{summary}
@ -59,7 +61,7 @@ This package contains library source intended for building other packages which
use the "ci" feature of the "%{crate}" crate.
%files -n %{name}+ci-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+serde-devel
Summary: %{summary}
@ -71,24 +73,24 @@ This package contains library source intended for building other packages which
use the "serde" feature of the "%{crate}" crate.
%files -n %{name}+serde-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
%generate_buildrequires
%cargo_generate_buildrequires
%cargo_generate_buildrequires -a
%build
%cargo_build
%cargo_build -a
%install
%cargo_install
%cargo_install -a
%if %{with check}
%check
%cargo_test -f ci
%cargo_test -a
%endif
%changelog

@ -1 +1 @@
SHA512 (relative-path-1.6.1.crate) = b8ab886dcc73fa25d1fbfa05a6033e24e0647ef79c448c9e44bca6ec4dab3ad6dc7ff969cdfc85c8aa382b3f5b8e46c8b4f4b86f4787d1eac0c50f797119e304
SHA512 (relative-path-1.7.0.crate) = 604f57ce93f5a949eb05d5fa713f9657d3edc0f35548d578bd17d2f35afd101178d7f2c09a7408392c89b70aaa92489b4572c50cd2a07f58f9c3054cbcf8925a

Loading…
Cancel
Save