|
|
@ -5,18 +5,16 @@
|
|
|
|
%global crate onig_sys
|
|
|
|
%global crate onig_sys
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 69.1.0
|
|
|
|
Version: 69.2.0
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Raw rust bindings to the oniguruma library
|
|
|
|
Summary: Raw rust bindings to the oniguruma library
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
# * Since we bundle oniguruma for time being, it is BSD
|
|
|
|
License: MIT
|
|
|
|
License: MIT and BSD
|
|
|
|
|
|
|
|
URL: https://crates.io/crates/onig_sys
|
|
|
|
URL: https://crates.io/crates/onig_sys
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Use system onig by default
|
|
|
|
# Use system onig by default
|
|
|
|
# * This is utterly broken with 6.9.2, https://github.com/rust-onig/rust-onig/issues/103
|
|
|
|
Patch0: rust-onig_sys-use-system-onig.diff
|
|
|
|
#Patch0: rust-onig_sys-use-system-onig.diff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
@ -37,8 +35,7 @@ this crate directly; instead check out the `onig` crate.}
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
#Requires: pkgconfig(oniguruma) >= 6.8.0
|
|
|
|
Requires: pkgconfig(oniguruma) >= 6.8.0
|
|
|
|
Provides: bundled(oniguruma) = 6.9.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description devel %{_description}
|
|
|
|
%description devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
@ -87,14 +84,12 @@ which use "print-debug" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
#rm -vrf oniguruma/
|
|
|
|
rm -vrf oniguruma/
|
|
|
|
find oniguruma/ -mindepth 1 -maxdepth 1 -not -name 'src' -not -name 'COPYING' | xargs rm -vrf
|
|
|
|
|
|
|
|
find oniguruma/ -type f -executable -exec chmod -x {} \+
|
|
|
|
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
#echo 'pkgconfig(oniguruma) >= 6.8.0'
|
|
|
|
echo 'pkgconfig(oniguruma) >= 6.8.0'
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
%cargo_build
|
|
|
@ -108,6 +103,9 @@ find oniguruma/ -type f -executable -exec chmod -x {} \+
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Sep 05 05:30:43 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 69.2.0-1
|
|
|
|
|
|
|
|
- Update to 69.2.0
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 69.1.0-4
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 69.1.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|