diff --git a/.gitignore b/.gitignore index 4cd6267..1731ccd 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ /csv-1.1.4.crate /csv-1.1.5.crate /csv-1.1.6.crate +/csv-1.2.0.crate diff --git a/rust-csv.spec b/rust-csv.spec index e0c7136..0740aa9 100644 --- a/rust-csv.spec +++ b/rust-csv.spec @@ -1,25 +1,20 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate csv -Name: rust-%{crate} -Version: 1.1.6 +Name: rust-csv +Version: 1.2.0 Release: %autorelease Summary: Fast CSV parsing with support for serde # Upstream license specification: Unlicense/MIT -License: Unlicense or MIT +License: Unlicense OR MIT URL: https://crates.io/crates/csv Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Fast CSV parsing with support for serde.} @@ -32,13 +27,16 @@ 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 COPYING LICENSE-MIT UNLICENSE -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/COPYING +%license %{crate_instdir}/LICENSE-MIT +%license %{crate_instdir}/UNLICENSE +%doc %{crate_instdir}/ISSUE_TEMPLATE.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -46,11 +44,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 8c32594..233d116 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (csv-1.1.6.crate) = 81dd826f0ee85e7d335d844e9f9b4d2b66f7076c517d8050ee2e35721bfa4ecb8a906dcd9671b1c5381a968dcce0949202f1afe8eea535b6d215363d4f5be6fc +SHA512 (csv-1.2.0.crate) = bdc3eea63cc00182a61f0ca2437253e9b5c033752b66d2039a0d571db767bdc82fea69fa28434dbf48d2f547c359040b0b212285cde4614602b6c3417741478d