Regenerate with rust2rpm v24

epel10
Fabio Valentini 2 years ago
parent 8ba8259ad4
commit e643913831
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

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

@ -1,30 +1,26 @@
# Generated by rust2rpm 10
# * https://github.com/reem/rust-mac/issues/15
# Generated by rust2rpm 24
# * tests fail to compile with recent versions of Rust:
# https://github.com/reem/rust-mac/issues/15
%bcond_with check
%global debug_package %{nil}
%global crate mac
Name: rust-%{crate}
Name: rust-mac
Version: 0.1.1
Release: %autorelease
Summary: Collection of great and ubiqutitous macros
# Upstream license specification: MIT/Apache-2.0
# https://github.com/reem/rust-mac/issues/14
License: MIT or ASL 2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/mac
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Collection of great and ubiqutitous macros.}
A collection of great and ubiqutitous macros.}
%description %{_description}
@ -34,12 +30,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
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -47,11 +43,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}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1

Loading…
Cancel
Save