diff --git a/.gitignore b/.gitignore index 5483de8..051dabf 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /crc-catalog-2.0.1.crate +/crc-catalog-2.1.0.crate diff --git a/rust-crc-catalog.spec b/rust-crc-catalog.spec index 2d186f0..84b4f47 100644 --- a/rust-crc-catalog.spec +++ b/rust-crc-catalog.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate crc-catalog Name: rust-%{crate} -Version: 2.0.1 +Version: 2.1.0 Release: %autorelease Summary: Catalog of CRC algorithms expressed as simple structs @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Catalog of CRC algorithms (generated from http://reveng.sourceforge.net/crc- @@ -31,12 +31,13 @@ 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}/ %package -n %{name}+default-devel Summary: %{summary} @@ -45,10 +46,10 @@ 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. +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 a1732a8..0562f60 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (crc-catalog-2.0.1.crate) = e4a725615461ead03ad20de99c52d18c29d56ad236bf9f99e54a5b45890cb318c15ae2c1ecb05acc145507fc1e0c73c1be868a22d5d6a6e9ccbeff4e0f60f1e0 +SHA512 (crc-catalog-2.1.0.crate) = 3a234d67342afafe3c405d1c88c8eeb5a875f9b4d552d1b11b0bfafed42c2d7dc776c7e6ad1a4d7aca00c8c9a0c6c1ce750898665194e67c7502545ec888a8ed