diff --git a/.gitignore b/.gitignore index 07f6d39..0e6964d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /grep-pcre2-0.1.3.crate /grep-pcre2-0.1.4.crate /grep-pcre2-0.1.5.crate +/grep-pcre2-0.1.6.crate diff --git a/README.md b/README.md deleted file mode 100644 index 100a426..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-grep-pcre2 - -The rust-grep-pcre2 package \ No newline at end of file diff --git a/rust-grep-pcre2.spec b/rust-grep-pcre2.spec index de3648b..2e96ddd 100644 --- a/rust-grep-pcre2.spec +++ b/rust-grep-pcre2.spec @@ -1,25 +1,19 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate grep-pcre2 -Name: rust-%{crate} -Version: 0.1.5 +Name: rust-grep-pcre2 +Version: 0.1.6 Release: %autorelease Summary: Use PCRE2 with the 'grep' crate -# Upstream license specification: Unlicense/MIT -License: Unlicense or MIT +License: Unlicense OR MIT URL: https://crates.io/crates/grep-pcre2 Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Use PCRE2 with the 'grep' crate.} @@ -32,13 +26,14 @@ 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 UNLICENSE LICENSE-MIT -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-MIT +%license %{crate_instdir}/UNLICENSE +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +41,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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 50f1f7b..ecdf47f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (grep-pcre2-0.1.5.crate) = 3945ac89e32e559904550c7e0d1a2125b4f88e223e35847d4c43659824855e331ec2b433146bdcbf534fbb0f7259301ed2392a395014913452b6277b57d2c24c +SHA512 (grep-pcre2-0.1.6.crate) = d144ed65655fb9b275c567bb2d5f3604b373ce10da4d5a59ef3e6f3827615dde190ef93a0819c2e37dd1cee640ae936dec78ad5ed80aac3b42066463a0e53698