diff --git a/.gitignore b/.gitignore index b085e2c..1520ee5 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /onig-4.3.1.crate /onig-4.3.2.crate /onig-5.0.0.crate +/onig-6.0.0.crate diff --git a/onig-fix-metadata.diff b/onig-fix-metadata.diff index 64c3d1a..e32be72 100644 --- a/onig-fix-metadata.diff +++ b/onig-fix-metadata.diff @@ -1,6 +1,6 @@ ---- onig-5.0.0/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ onig-5.0.0/Cargo.toml 2019-09-05T03:32:36.191222+00:00 -@@ -32,5 +32,3 @@ +--- onig-6.0.0/Cargo.toml 2020-05-16T10:48:49+00:00 ++++ onig-6.0.0/Cargo.toml 2020-05-23T19:23:13.209862+00:00 +@@ -35,5 +35,3 @@ posix-api = ["onig_sys/posix-api"] print-debug = ["onig_sys/print-debug"] std-pattern = [] diff --git a/rust-onig.spec b/rust-onig.spec index 0eee78e..2e42cf7 100644 --- a/rust-onig.spec +++ b/rust-onig.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 10 +# Generated by rust2rpm 15 %bcond_without check %global debug_package %{nil} %global crate onig Name: rust-%{crate} -Version: 5.0.0 -Release: 2%{?dist} +Version: 6.0.0 +Release: 1%{?dist} Summary: Set of rust bindings for the oniguruma regular expression library # Upstream license specification: MIT @@ -42,7 +42,7 @@ which use "%{crate}" crate. %files devel %license LICENSE.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -54,7 +54,19 @@ This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+generate-devel +Summary: %{summary} +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. + +%files -n %{name}+generate-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+posix-api-devel Summary: %{summary} @@ -66,7 +78,7 @@ This package contains library source intended for building other packages which use "posix-api" feature of "%{crate}" crate. %files -n %{name}+posix-api-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+print-debug-devel Summary: %{summary} @@ -78,7 +90,7 @@ This package contains library source intended for building other packages which use "print-debug" feature of "%{crate}" crate. %files -n %{name}+print-debug-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %package -n %{name}+std-pattern-devel Summary: %{summary} @@ -90,7 +102,7 @@ This package contains library source intended for building other packages which use "std-pattern" feature of "%{crate}" crate. %files -n %{name}+std-pattern-devel -%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 @@ -116,6 +128,9 @@ which use "std-pattern" feature of "%{crate}" crate. %endif %changelog +* Sat May 23 21:23:13 CEST 2020 Igor Raits - 6.0.0-1 +- Update to 6.0.0 + * Thu Jan 30 2020 Fedora Release Engineering - 5.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 3cacd23..0c2fdaa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (onig-5.0.0.crate) = eaecbc1dced5c684173c0e37e775b251a6cc6bd3fcd447495cb9e116a679c67314268dcdd226b8cfb287cf6900ee97fb32e7b62e05c4e9b01cb156542fe4ee36 +SHA512 (onig-6.0.0.crate) = f5ab1586c23a96b813300d0478c6f4d401f3a6e44c562f72cc251225374811d3d89ec77b2660a10b5b52d71e4c1656f1f9fb9ab640d227af308401162663be69