Always require bindgen

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
epel9
Igor Raits 5 years ago
parent 5a836c1fd3
commit 382a165b7c
No known key found for this signature in database
GPG Key ID: 115D5AB89C5C1E1E

@ -0,0 +1,18 @@
--- onig_sys-69.5.0/Cargo.toml 2020-05-16T10:47:58+00:00
+++ onig_sys-69.5.0/Cargo.toml 2020-05-23T20:37:42.152270+00:00
@@ -25,7 +25,6 @@
[build-dependencies.bindgen]
version = "0.53"
features = ["runtime"]
-optional = true
[build-dependencies.cc]
version = "1.0"
@@ -35,6 +34,6 @@
[features]
default = ["generate"]
-generate = ["bindgen"]
+generate = []
posix-api = []
print-debug = []

@ -1,4 +1,4 @@
# Generated by rust2rpm 13
# Generated by rust2rpm 15
%bcond_without check
%global debug_package %{nil}
@ -6,13 +6,16 @@
Name: rust-%{crate}
Version: 69.5.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Raw rust bindings to the oniguruma library
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/onig_sys
Source: %{crates_source}
# Initial patched metadata
# * Make bindgen as non-optional dep (for next patch)
Patch0: onig_sys-fix-metadata.diff
# Always use system onig
Patch0001: 0001-Always-use-system-onig.patch
@ -58,18 +61,6 @@ which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+bindgen-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+bindgen-devel %{_description}
This package contains library source intended for building other packages
which use "bindgen" feature of "%{crate}" crate.
%files -n %{name}+bindgen-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+generate-devel
Summary: %{summary}
BuildArch: noarch
@ -127,6 +118,9 @@ echo 'pkgconfig(oniguruma) >= 6.8.0'
%endif
%changelog
* Sat May 23 22:37:42 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 69.5.0-2
- Always require bindgen
* Thu Feb 27 2020 Josh Stone <jistone@redhat.com> - 69.2.0-4
- Bump bindgen to 0.53.

Loading…
Cancel
Save