|
|
|
@ -1,10 +1,12 @@
|
|
|
|
|
# Tests need fixing after patches
|
|
|
|
|
%bcond_with check
|
|
|
|
|
%{?python_enable_dependency_generator}
|
|
|
|
|
# https://pagure.io/koji/issue/659
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
Name: rust-packaging
|
|
|
|
|
Version: 6
|
|
|
|
|
Release: 15%{?dist}
|
|
|
|
|
Release: 16%{?dist}
|
|
|
|
|
Summary: RPM macros for building Rust packages on various architectures
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
@ -22,8 +24,7 @@ Patch0008: 0008-add-support-for-dependencies-with-same-name.patch
|
|
|
|
|
Patch0009: 0009-add-support-for-feeding-user-configuration.patch
|
|
|
|
|
Patch0010: 0010-trivial-use-f-strings-everywhere.patch
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
ExclusiveArch: %{rust_arches} noarch
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
# gawk is needed for stripping dev-deps in macro, 4.1.0 is needed for inplace feature
|
|
|
|
|
Requires: gawk >= 4.1.0
|
|
|
|
@ -82,6 +83,9 @@ py.test-%{python3_version} -vv test.py
|
|
|
|
|
%{python3_sitelib}/rust2rpm/
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Nov 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6-16
|
|
|
|
|
- Make package archful
|
|
|
|
|
|
|
|
|
|
* Fri Nov 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6-15
|
|
|
|
|
- Support .rust2rpm.conf
|
|
|
|
|
|
|
|
|
|