|
|
|
@ -6,7 +6,7 @@
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.6.1
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: Tool for generating C bindings to Rust code
|
|
|
|
|
|
|
|
|
|
License: MPLv2.0
|
|
|
|
@ -31,12 +31,6 @@ BuildRequires: (crate(toml) >= 0.4.0 with crate(toml) < 0.5.0)
|
|
|
|
|
%description
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
%package -n %{crate}
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
|
|
%description -n %{crate}
|
|
|
|
|
A tool for generating C bindings to Rust code.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -62,16 +56,17 @@ which use %{crate} from crates.io.
|
|
|
|
|
%cargo_test
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files -n %{crate}
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{_bindir}/cbindgen
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc ARCHITECTURE.md CONTRIBUTING.md README.md
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1608670
|
|
|
|
|
%exclude %{_bindir}/cbindgen
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.1-3
|
|
|
|
|
- Drop cbindgen executable
|
|
|
|
|
|
|
|
|
|
* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.1-2
|
|
|
|
|
- Rebuild to trigger tests
|
|
|
|
|
|
|
|
|
|