|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
# Generated by rust2rpm 16
|
|
|
|
|
# Generated by rust2rpm 17
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
@ -6,7 +6,7 @@
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 69.6.0
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: Raw rust bindings to the oniguruma library
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
@ -14,7 +14,7 @@ License: MIT
|
|
|
|
|
URL: https://crates.io/crates/onig_sys
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * Bump bindgen to 0.56: https://github.com/rust-onig/rust-onig/pull/157
|
|
|
|
|
# * Bump bindgen to 0.57: https://github.com/rust-onig/rust-onig/pull/157
|
|
|
|
|
# * Mark bindgen as non-optional dep (for next patch)
|
|
|
|
|
Patch0: onig_sys-fix-metadata.diff
|
|
|
|
|
# Always use system onig
|
|
|
|
@ -26,7 +26,6 @@ BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: pkgconfig(oniguruma) >= 6.8.0
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
`onig_sys` crate contains raw rust bindings to the oniguruma library. This
|
|
|
|
@ -106,6 +105,7 @@ rm -vrf oniguruma/
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
echo 'pkgconfig(oniguruma) >= 6.8.0'
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
@ -119,6 +119,9 @@ rm -vrf oniguruma/
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Mar 31 20:46:59 CEST 2021 Robert-André Mauchin <zebob.m@gmail.com> - 69.6.0-3
|
|
|
|
|
- Bump bindgen to 0.57
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 69.6.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|