Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel10
Igor Gnatenko 6 years ago
parent 7b381796cc
commit 16e7c2c293
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,12 +1,12 @@
# Generated by rust2rpm
%bcond_with check
# Generated by rust2rpm 10
%bcond_without check
%global debug_package %{nil}
%global crate foreign-types
Name: rust-%{crate}
Version: 0.3.2
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Framework for Rust wrappers over C APIs
# Upstream license specification: MIT/Apache-2.0
@ -15,12 +15,14 @@ URL: https://crates.io/crates/foreign-types
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: (crate(foreign-types-shared/default) >= 0.1.0 with crate(foreign-types-shared/default) < 0.2.0)
%global _description \
A framework for Rust wrappers over C APIs.
%global _description %{expand:
Framework for Rust wrappers over C APIs.}
%description %{_description}
@ -54,6 +56,9 @@ which use "default" feature of "%{crate}" crate.
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
@ -66,6 +71,9 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
* Sat Jun 22 09:19:51 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.2-8
- Regenerate
* Thu Mar 14 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.2-7
- Adapt to new packaging

Loading…
Cancel
Save