diff --git a/.gitignore b/.gitignore index 12c7cea..9df37f4 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /sval_derive-0.5.1.crate /sval_derive-0.5.2.crate /sval_derive-1.0.0-alpha.5.crate +/sval_derive-2.6.1.crate diff --git a/README.md b/README.md deleted file mode 100644 index 3ff8b56..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-sval_derive - -The rust-sval_derive package \ No newline at end of file diff --git a/rust-sval_derive.spec b/rust-sval_derive.spec index 8cfd865..466edf7 100644 --- a/rust-sval_derive.spec +++ b/rust-sval_derive.spec @@ -1,28 +1,22 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate sval_derive -Name: rust-%{crate} -Version: 1.0.0~alpha.5 +Name: rust-sval_derive +Version: 2.6.1 Release: %autorelease -Summary: Custom derive for sval +Summary: Derive support for sval -# Upstream license specification: Apache-2.0 OR MIT -License: ASL 2.0 or MIT +License: Apache-2.0 OR MIT URL: https://crates.io/crates/sval_derive Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -Custom derive for sval.} +Derive support for sval.} %description %{_description} @@ -33,11 +27,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 -%{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} @@ -46,10 +42,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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 9c76fd2..4342c33 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sval_derive-1.0.0-alpha.5.crate) = c3e25d6dd7c8ed5d7fed1c1ba45d3ca09b510be9da9e9f6f23d28406935edcaeb1bc3d03408885418bf17b9685ed3421fc93d5e27c9152f92dd12d383a60cb9b +SHA512 (sval_derive-2.6.1.crate) = f8bf0fde5751ad9b10c32810d2afd950775493ac462d1db770140c7e7730f4ec06797be2461ea9715b4e9fb246ca36b7a783fb8458cf15f622897c15af335f38