diff --git a/.gitignore b/.gitignore index 371c20a..80c4ed6 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ /regex-syntax-0.6.22.crate /regex-syntax-0.6.23.crate /regex-syntax-0.6.25.crate +/regex-syntax-0.6.26.crate diff --git a/rust-regex-syntax.spec b/rust-regex-syntax.spec index 8f87481..fa85376 100644 --- a/rust-regex-syntax.spec +++ b/rust-regex-syntax.spec @@ -1,25 +1,22 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate regex-syntax Name: rust-%{crate} -Version: 0.6.25 +Version: 0.6.26 Release: %autorelease Summary: Regular expression parser -# Upstream license specification: MIT/Apache-2.0 +# Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/regex-syntax Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Regular expression parser.} @@ -33,12 +30,14 @@ BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which -use "%{crate}" crate. +use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ +%exclude %{crate_instdir}/test %package -n %{name}+default-devel Summary: %{summary} @@ -47,10 +46,10 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which -use "the default" feature of the "%{crate}" crate. +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}+unicode-devel Summary: %{summary} @@ -59,10 +58,10 @@ BuildArch: noarch %description -n %{name}+unicode-devel %{_description} This package contains library source intended for building other packages which -use "the unicode" feature of the "%{crate}" crate. +use the "unicode" feature of the "%{crate}" crate. %files -n %{name}+unicode-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-age-devel Summary: %{summary} @@ -71,10 +70,10 @@ BuildArch: noarch %description -n %{name}+unicode-age-devel %{_description} This package contains library source intended for building other packages which -use "the unicode-age" feature of the "%{crate}" crate. +use the "unicode-age" feature of the "%{crate}" crate. %files -n %{name}+unicode-age-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-bool-devel Summary: %{summary} @@ -83,10 +82,10 @@ BuildArch: noarch %description -n %{name}+unicode-bool-devel %{_description} This package contains library source intended for building other packages which -use "the unicode-bool" feature of the "%{crate}" crate. +use the "unicode-bool" feature of the "%{crate}" crate. %files -n %{name}+unicode-bool-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-case-devel Summary: %{summary} @@ -95,10 +94,10 @@ BuildArch: noarch %description -n %{name}+unicode-case-devel %{_description} This package contains library source intended for building other packages which -use "the unicode-case" feature of the "%{crate}" crate. +use the "unicode-case" feature of the "%{crate}" crate. %files -n %{name}+unicode-case-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-gencat-devel Summary: %{summary} @@ -107,10 +106,10 @@ BuildArch: noarch %description -n %{name}+unicode-gencat-devel %{_description} This package contains library source intended for building other packages which -use "the unicode-gencat" feature of the "%{crate}" crate. +use the "unicode-gencat" feature of the "%{crate}" crate. %files -n %{name}+unicode-gencat-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-perl-devel Summary: %{summary} @@ -119,10 +118,10 @@ BuildArch: noarch %description -n %{name}+unicode-perl-devel %{_description} This package contains library source intended for building other packages which -use "the unicode-perl" feature of the "%{crate}" crate. +use the "unicode-perl" feature of the "%{crate}" crate. %files -n %{name}+unicode-perl-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-script-devel Summary: %{summary} @@ -131,10 +130,10 @@ BuildArch: noarch %description -n %{name}+unicode-script-devel %{_description} This package contains library source intended for building other packages which -use "the unicode-script" feature of the "%{crate}" crate. +use the "unicode-script" feature of the "%{crate}" crate. %files -n %{name}+unicode-script-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-segment-devel Summary: %{summary} @@ -143,10 +142,10 @@ BuildArch: noarch %description -n %{name}+unicode-segment-devel %{_description} This package contains library source intended for building other packages which -use "the unicode-segment" feature of the "%{crate}" crate. +use the "unicode-segment" feature of the "%{crate}" crate. %files -n %{name}+unicode-segment-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 16c9ea3..aac3c80 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (regex-syntax-0.6.25.crate) = a3d31f82aadc6be1796f76c03152ff24f37fe42d6ce27fb98e2f55ab102f86502bc37ccd563f6e0eba61aab20d002184c618517b678b3b93cb8f0497cc046ca5 +SHA512 (regex-syntax-0.6.26.crate) = 46087f5a2abfb48f24da77e79e66f6e514b5d005c4ae2c3283418ec471ddac9e4a1361edbae9d27efeb10217157092f812946b7b98182cf9f8aa703e01c03634