|
|
@ -1,11 +1,11 @@
|
|
|
|
# Generated by rust2rpm 13
|
|
|
|
# Generated by rust2rpm 15
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate structopt
|
|
|
|
%global crate structopt
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.3.18
|
|
|
|
Version: 0.3.20
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Parse command line argument by defining a struct
|
|
|
|
Summary: Parse command line argument by defining a struct
|
|
|
|
|
|
|
|
|
|
|
@ -13,6 +13,10 @@ Summary: Parse command line argument by defining a struct
|
|
|
|
License: ASL 2.0 or MIT
|
|
|
|
License: ASL 2.0 or MIT
|
|
|
|
URL: https://crates.io/crates/structopt
|
|
|
|
URL: https://crates.io/crates/structopt
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
|
|
|
# * drop lints feature: clippy crate is not packaged
|
|
|
|
|
|
|
|
# * drop paw feature: paw is not packaged
|
|
|
|
|
|
|
|
Patch0: structopt-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
@ -88,18 +92,6 @@ which use "doc" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+doc-devel
|
|
|
|
%files -n %{name}+doc-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+lints-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+lints-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "lints" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+lints-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+no_cargo-devel
|
|
|
|
%package -n %{name}+no_cargo-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
@ -112,30 +104,6 @@ which use "no_cargo" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+no_cargo-devel
|
|
|
|
%files -n %{name}+no_cargo-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+paw-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+paw-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "paw" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+paw-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+paw_dep-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+paw_dep-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "paw_dep" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+paw_dep-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+suggestions-devel
|
|
|
|
%package -n %{name}+suggestions-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
@ -174,6 +142,10 @@ which use "yaml" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
|
|
|
# remove executable bit from ... everything
|
|
|
|
|
|
|
|
for i in $(find -type f -executable); do
|
|
|
|
|
|
|
|
chmod a-x $i;
|
|
|
|
|
|
|
|
done
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
@ -193,6 +165,11 @@ which use "yaml" feature of "%{crate}" crate.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Nov 9 2020 Fabio Valentini <decathorpe@gmail.com> - 0.3.20-1
|
|
|
|
|
|
|
|
- Update to version 0.3.20.
|
|
|
|
|
|
|
|
- Drop "lints" and "paw" features with broken dependencies.
|
|
|
|
|
|
|
|
- Fixes RHBZ#1886429
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Sep 23 2020 Fabio Valentini <decathorpe@gmail.com> - 0.3.18-1
|
|
|
|
* Wed Sep 23 2020 Fabio Valentini <decathorpe@gmail.com> - 0.3.18-1
|
|
|
|
- Update to version 0.3.18.
|
|
|
|
- Update to version 0.3.18.
|
|
|
|
|
|
|
|
|
|
|
|