diff --git a/.gitignore b/.gitignore index ed6afd2..27c4069 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /grep-matcher-0.1.3.crate /grep-matcher-0.1.4.crate /grep-matcher-0.1.5.crate +/grep-matcher-0.1.6.crate diff --git a/README.md b/README.md deleted file mode 100644 index 8cb31be..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-grep-matcher - -The rust-grep-matcher package \ No newline at end of file diff --git a/rust-grep-matcher.spec b/rust-grep-matcher.spec index 9b1f96d..95c0b34 100644 --- a/rust-grep-matcher.spec +++ b/rust-grep-matcher.spec @@ -1,28 +1,22 @@ -# Generated by rust2rpm 17 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate grep-matcher -Name: rust-%{crate} -Version: 0.1.5 +Name: rust-grep-matcher +Version: 0.1.6 Release: %autorelease Summary: Trait for regular expressions, with a focus on line oriented search -# Upstream license specification: Unlicense/MIT -License: Unlicense or MIT +License: Unlicense OR MIT URL: https://crates.io/crates/grep-matcher Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -Trait for regular expressions, with a focus on line oriented search.} +A trait for regular expressions, with a focus on line oriented search.} %description %{_description} @@ -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 5b5656f..3b7dbea 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (grep-matcher-0.1.5.crate) = 7f7bd34a5ff1576131b97e3126fdeb8ca0836f566a18524cf225d36fad3a74e74e6f20e252361e67df133619a628b10cd8170a7ba80747a56b47a86972c45133 +SHA512 (grep-matcher-0.1.6.crate) = d47975b56e651f72ce59f0e0e86f73f126a4c9a2eb7a597c4b0a5de8e3cde6c7f44492a6b42560677ce4aeb6cd853934409910a1d0e00c0bda54f0b2ca66e882