Regenerate with rust2rpm v24

epel10
Fabio Valentini 2 years ago
parent 86ccc8cc8f
commit 6437a0836a
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,3 +0,0 @@
# rust-permutohedron
The rust-permutohedron package

@ -1,26 +1,25 @@
# Generated by rust2rpm # Generated by rust2rpm 24
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate permutohedron %global crate permutohedron
Name: rust-%{crate} Name: rust-permutohedron
Version: 0.2.4 Version: 0.2.4
Release: %autorelease Release: %autorelease
Summary: Generate permutations of sequences Summary: Generate permutations of sequences
# Upstream license specification: MIT/Apache-2.0 # Upstream license specification: MIT/Apache-2.0
License: MIT or ASL 2.0 License: MIT OR Apache-2.0
URL: https://crates.io/crates/permutohedron URL: https://crates.io/crates/permutohedron
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate Source: %{crates_source}
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
BuildRequires: rust-packaging %global _description %{expand:
Generate permutations of sequences. Either lexicographical order
%global _description \ permutations, or a minimal swaps permutation sequence implemented using
Generate permutations of sequences. Either lexicographical order permutations,\ Heap's algorithm.}
or a minimal swaps permutation sequence implemented using Heap's algorithm.
%description %{_description} %description %{_description}
@ -30,13 +29,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
%license LICENSE-APACHE LICENSE-MIT %license %{crate_instdir}/LICENSE-APACHE
%{cargo_registry}/%{crate}-%{version}/ %license %{crate_instdir}/LICENSE-MIT
%exclude %{cargo_registry}/%{crate}-%{version}/{Makefile,custom.css} %doc %{crate_instdir}/README.rst
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -44,11 +44,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}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
@ -56,16 +56,19 @@ 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}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build %build
%cargo_build %cargo_build

Loading…
Cancel
Save