Update to version 6.3.2; Fixes RHBZ#1970079

epel9
Fabio Valentini 3 years ago
parent 626f3bd106
commit b415ac49c3
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -8,3 +8,4 @@
/onig-6.0.0.crate
/onig-6.1.0.crate
/onig-6.1.1.crate
/onig-6.3.2.crate

@ -0,0 +1,8 @@
--- onig-6.3.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ onig-6.3.2/Cargo.toml 1970-01-01T00:00:01+00:00
@@ -44,5 +44,3 @@
print-debug = ["onig_sys/print-debug"]
std-pattern = []
-[target."cfg(windows)".dependencies.libc]
-version = "0.2"

@ -1,8 +0,0 @@
--- onig-6.1.1/Cargo.toml 2020-11-22T10:29:59+00:00
+++ onig-6.1.1/Cargo.toml 2020-11-29T18:07:07.950070+00:00
@@ -35,5 +35,3 @@
posix-api = ["onig_sys/posix-api"]
print-debug = ["onig_sys/print-debug"]
std-pattern = []
-[target."cfg(windows)".dependencies.libc]
-version = "0.2"

@ -1,28 +1,23 @@
# Generated by rust2rpm 16
# Generated by rust2rpm 22
%bcond_without check
%global debug_package %{nil}
%global crate onig
Name: rust-%{crate}
Version: 6.1.1
Name: rust-onig
Version: 6.3.2
Release: %autorelease
Summary: Rust bindings for the Oniguruma regular expression library
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/onig
Source: %{crates_source}
# Initial patched metadata
# * Remove windows dependency
Patch0: onig-fix-metadata.diff
# Automatically generated patch to strip foreign dependencies
Patch: onig-fix-metadata-auto.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Rust-Onig is a set of Rust bindings for the Oniguruma regular expression
@ -37,12 +32,12 @@ BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license LICENSE.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%license %{crate_instdir}/LICENSE.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -50,11 +45,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+generate-devel
Summary: %{summary}
@ -62,11 +57,11 @@ BuildArch: noarch
%description -n %{name}+generate-devel %{_description}
This package contains library source intended for building other packages
which use "generate" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "generate" feature of the "%{crate}" crate.
%files -n %{name}+generate-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+posix-api-devel
Summary: %{summary}
@ -74,11 +69,11 @@ BuildArch: noarch
%description -n %{name}+posix-api-devel %{_description}
This package contains library source intended for building other packages
which use "posix-api" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "posix-api" feature of the "%{crate}" crate.
%files -n %{name}+posix-api-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+print-debug-devel
Summary: %{summary}
@ -86,11 +81,11 @@ BuildArch: noarch
%description -n %{name}+print-debug-devel %{_description}
This package contains library source intended for building other packages
which use "print-debug" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "print-debug" feature of the "%{crate}" crate.
%files -n %{name}+print-debug-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-pattern-devel
Summary: %{summary}
@ -98,11 +93,11 @@ BuildArch: noarch
%description -n %{name}+std-pattern-devel %{_description}
This package contains library source intended for building other packages
which use "std-pattern" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "std-pattern" feature of the "%{crate}" crate.
%files -n %{name}+std-pattern-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
@ -119,12 +114,7 @@ which use "std-pattern" feature of "%{crate}" crate.
%if %{with check}
%check
# Somehow rustdoc crashes on 32bit
%if 0%{?__isa_bits} >= 64
%cargo_test
%else
%cargo_test || :
%endif
%cargo_test
%endif
%changelog

@ -1 +1 @@
SHA512 (onig-6.1.1.crate) = 4d754f05a3612486f6730f850956a041f1fb8ff723fd512acd0a8a0a4a2c8be2b98cd6f7b6a882947d3b368bdb5822241e55a87eef331de80c375433d326a864
SHA512 (onig-6.3.2.crate) = 0a139d09c5f4bff1a86b052683fda43dbae2506a82dad352f2c9ee0bff8b14485e39a8b558d79935c3485384aa245e4c13f42cf27372df4025ac42fac81c7719

Loading…
Cancel
Save