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 %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate phf_codegen %global crate phf_codegen
Name: rust-%{crate} Name: rust-phf_codegen
Version: 0.8.0 Version: 0.8.0
Release: 7%{?dist} Release: 7%{?dist}
Summary: Codegen library for PHF types Summary: Codegen library for PHF types
# Upstream license specification: MIT
# https://github.com/sfackler/rust-phf/pull/118 # https://github.com/sfackler/rust-phf/pull/118
License: MIT License: MIT
URL: https://crates.io/crates/phf_codegen URL: https://crates.io/crates/phf_codegen
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:
Codegen library for PHF types.} Codegen library for PHF types.}
@ -33,11 +27,12 @@ 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
%{cargo_registry}/%{crate}-%{version_no_tilde}/ # FIXME: no license files detected
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -45,11 +40,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_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

Loading…
Cancel
Save