diff --git a/.gitignore b/.gitignore index abcbc71..58821e3 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ /structopt-0.3.22.crate /structopt-0.3.23.crate /structopt-0.3.25.crate +/structopt-0.3.26.crate diff --git a/rust-structopt.spec b/rust-structopt.spec index c045ad7..caa4a68 100644 --- a/rust-structopt.spec +++ b/rust-structopt.spec @@ -1,25 +1,21 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate structopt -Name: rust-%{crate} -Version: 0.3.25 +Name: rust-structopt +Version: 0.3.26 Release: %autorelease Summary: Parse command line argument by defining a struct -# 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/structopt Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Parse command line argument by defining a struct.} @@ -32,13 +28,15 @@ 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 LICENSE-MIT LICENSE-APACHE -%doc examples README.md CHANGELOG.md examples/README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.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 %package -n %{name}+color-devel Summary: %{summary} @@ -58,11 +56,11 @@ BuildArch: noarch %description -n %{name}+color-devel %{_description} -This package contains library source intended for building other packages -which use "color" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "color" feature of the "%{crate}" crate. %files -n %{name}+color-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+debug-devel Summary: %{summary} @@ -70,11 +68,11 @@ BuildArch: noarch %description -n %{name}+debug-devel %{_description} -This package contains library source intended for building other packages -which use "debug" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "debug" feature of the "%{crate}" crate. %files -n %{name}+debug-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+doc-devel Summary: %{summary} @@ -82,11 +80,11 @@ BuildArch: noarch %description -n %{name}+doc-devel %{_description} -This package contains library source intended for building other packages -which use "doc" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "doc" feature of the "%{crate}" crate. %files -n %{name}+doc-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+no_cargo-devel Summary: %{summary} @@ -94,11 +92,11 @@ BuildArch: noarch %description -n %{name}+no_cargo-devel %{_description} -This package contains library source intended for building other packages -which use "no_cargo" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "no_cargo" feature of the "%{crate}" crate. %files -n %{name}+no_cargo-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+suggestions-devel Summary: %{summary} @@ -106,11 +104,11 @@ BuildArch: noarch %description -n %{name}+suggestions-devel %{_description} -This package contains library source intended for building other packages -which use "suggestions" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "suggestions" feature of the "%{crate}" crate. %files -n %{name}+suggestions-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wrap_help-devel Summary: %{summary} @@ -118,11 +116,11 @@ BuildArch: noarch %description -n %{name}+wrap_help-devel %{_description} -This package contains library source intended for building other packages -which use "wrap_help" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "wrap_help" feature of the "%{crate}" crate. %files -n %{name}+wrap_help-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+yaml-devel Summary: %{summary} @@ -130,11 +128,11 @@ BuildArch: noarch %description -n %{name}+yaml-devel %{_description} -This package contains library source intended for building other packages -which use "yaml" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "yaml" feature of the "%{crate}" crate. %files -n %{name}+yaml-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/.rust2rpm.conf b/rust2rpm.conf similarity index 100% rename from .rust2rpm.conf rename to rust2rpm.conf diff --git a/sources b/sources index c828adf..8130aa5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (structopt-0.3.25.crate) = f07c505fbabfd880ee5f931e8a3ed8a1d01fc0a66a78c0cc04a2600d2f5cb2d699ac41719062c5c4d2cb06a64ce1433641837bb7d9fb755018ce95844216811d +SHA512 (structopt-0.3.26.crate) = dec27090b57107473c9d398db68bde3b1b5191e7c7980d7d2c20fc723f92c64a6cf1d391d5122a103222c4262253d8073fd0fdfb11c74f235af79b2ae0caf069