Regenerate packaging with rust2rpm 24

epel9
Kalev Lember 2 years ago
parent ac802d1190
commit a1d84f57d3

@ -1,26 +1,20 @@
# Generated by rust2rpm 13
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate phf_codegen
Name: rust-%{crate}
Name: rust-phf_codegen
Version: 0.8.0
Release: 7%{?dist}
Summary: Codegen library for PHF types
# Upstream license specification: MIT
# https://github.com/sfackler/rust-phf/pull/118
License: MIT
URL: https://crates.io/crates/phf_codegen
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Codegen library for PHF types.}
@ -33,11 +27,12 @@ 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}/
# FIXME: no license files detected
%{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
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1

Loading…
Cancel
Save