Compare commits
No commits in common. 'epel9' and 'i9ce' have entirely different histories.
@ -1,29 +1 @@
|
||||
/structopt-0.1.7.crate
|
||||
/structopt-0.2.5.crate
|
||||
/structopt-0.2.7.crate
|
||||
/structopt-0.2.8.crate
|
||||
/structopt-0.2.10.crate
|
||||
/structopt-0.2.11.crate
|
||||
/structopt-0.2.12.crate
|
||||
/structopt-0.2.13.crate
|
||||
/structopt-0.2.14.crate
|
||||
/structopt-0.2.15.crate
|
||||
/structopt-0.2.16.crate
|
||||
/structopt-0.2.17.crate
|
||||
/structopt-0.2.18.crate
|
||||
/structopt-0.3.5.crate
|
||||
/structopt-0.3.7.crate
|
||||
/structopt-0.3.9.crate
|
||||
/structopt-0.3.11.crate
|
||||
/structopt-0.3.12.crate
|
||||
/structopt-0.3.13.crate
|
||||
/structopt-0.3.14.crate
|
||||
/structopt-0.3.15.crate
|
||||
/structopt-0.3.17.crate
|
||||
/structopt-0.3.18.crate
|
||||
/structopt-0.3.20.crate
|
||||
/structopt-0.3.21.crate
|
||||
/structopt-0.3.22.crate
|
||||
/structopt-0.3.23.crate
|
||||
/structopt-0.3.25.crate
|
||||
/structopt-0.3.26.crate
|
||||
SOURCES/structopt-0.3.26.crate
|
||||
|
@ -0,0 +1 @@
|
||||
3446a8b8996550e3f9e04793380a9d17ab8b9168 SOURCES/structopt-0.3.26.crate
|
@ -0,0 +1,301 @@
|
||||
## START: Set by rpmautospec
|
||||
## (rpmautospec version 0.3.0)
|
||||
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
||||
release_number = 1;
|
||||
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
||||
print(release_number + base_release_number - 1);
|
||||
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
||||
## END: Set by rpmautospec
|
||||
|
||||
# Generated by rust2rpm 22
|
||||
%bcond_without check
|
||||
%global debug_package %{nil}
|
||||
|
||||
%global crate structopt
|
||||
|
||||
Name: rust-structopt
|
||||
Version: 0.3.26
|
||||
Release: %autorelease
|
||||
Summary: Parse command line argument by defining a struct
|
||||
|
||||
License: Apache-2.0 OR MIT
|
||||
URL: https://crates.io/crates/structopt
|
||||
Source: %{crates_source}
|
||||
|
||||
ExclusiveArch: %{rust_arches}
|
||||
|
||||
BuildRequires: rust-packaging >= 21
|
||||
|
||||
%global _description %{expand:
|
||||
Parse command line argument by defining a struct.}
|
||||
|
||||
%description %{_description}
|
||||
|
||||
%package devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "%{crate}" crate.
|
||||
|
||||
%files devel
|
||||
%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}
|
||||
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.
|
||||
|
||||
%files -n %{name}+default-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+color-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+color-devel %{_description}
|
||||
|
||||
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 %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+debug-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+debug-devel %{_description}
|
||||
|
||||
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 %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+doc-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+doc-devel %{_description}
|
||||
|
||||
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 %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+no_cargo-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+no_cargo-devel %{_description}
|
||||
|
||||
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 %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+suggestions-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+suggestions-devel %{_description}
|
||||
|
||||
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 %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+wrap_help-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+wrap_help-devel %{_description}
|
||||
|
||||
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 %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+yaml-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+yaml-devel %{_description}
|
||||
|
||||
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 %{crate_instdir}/Cargo.toml
|
||||
|
||||
%prep
|
||||
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
||||
%cargo_prep
|
||||
|
||||
%generate_buildrequires
|
||||
%cargo_generate_buildrequires
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
# * flatten_twice is marked should_panic, but gets a hard error from clap
|
||||
# * ui test fails because of missing paw dependency
|
||||
%cargo_test -- -- --skip flatten_twice --skip ui
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.3.26-1
|
||||
- Rebuilt for MSVSphere 9.3
|
||||
|
||||
* Wed Aug 10 2022 Fabio Valentini <decathorpe@gmail.com> 0.3.26-1
|
||||
- Update to version 0.3.26; Fixes RHBZ#2041869
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> 0.3.25-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> 0.3.25-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Nov 05 2021 Fabio Valentini <decathorpe@gmail.com> 0.3.25-1
|
||||
- Update to version 0.3.25; Fixes RHBZ#2015002
|
||||
|
||||
* Tue Aug 31 2021 Fabio Valentini <decathorpe@gmail.com> 0.3.23-1
|
||||
- Update to version 0.3.23; Fixes RHBZ#1999249
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> 0.3.22-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Sun Jul 18 2021 Fabio Valentini <decathorpe@gmail.com> 0.3.22-1
|
||||
- Update to version 0.3.22; Fixes RHBZ#1979061
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.21-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Mon Dec 28 13:33:31 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.3.21-2
|
||||
- Rebuild
|
||||
|
||||
* Thu Dec 03 2020 Fabio Valentini <decathorpe@gmail.com> - 0.3.21-1
|
||||
- Update to version 0.3.21.
|
||||
|
||||
* 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
|
||||
- Update to version 0.3.18.
|
||||
|
||||
* Wed Aug 26 2020 Josh Stone <jistone@redhat.com> - 0.3.17-1
|
||||
- Update to 0.3.17
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.15-3
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.15-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jun 19 2020 Josh Stone <jistone@redhat.com> - 0.3.15-1
|
||||
- Update to 0.3.15
|
||||
|
||||
* Thu Apr 23 2020 Josh Stone <jistone@redhat.com> - 0.3.14-1
|
||||
- Update to 0.3.14
|
||||
|
||||
* Thu Apr 09 2020 Josh Stone <jistone@redhat.com> - 0.3.13-1
|
||||
- Update to 0.3.13
|
||||
|
||||
* Wed Mar 18 2020 Josh Stone <jistone@redhat.com> - 0.3.12-1
|
||||
- Update to 0.3.12
|
||||
|
||||
* Mon Mar 02 09:09:28 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.3.11-1
|
||||
- Update to 0.3.11
|
||||
|
||||
* Mon Feb 10 2020 Josh Stone <jistone@redhat.com> - 0.3.9-1
|
||||
- Update to 0.3.9
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.7-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Jan 15 2020 Josh Stone <jistone@redhat.com> - 0.3.7-1
|
||||
- Update to 0.3.7
|
||||
|
||||
* Tue Dec 17 08:14:58 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.5-1
|
||||
- Update to 0.3.5
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.18-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu Jun 27 17:18:49 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.18-1
|
||||
- Update to 0.2.18
|
||||
|
||||
* Sun Jun 02 08:59:55 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.17-1
|
||||
- Update to 0.2.17
|
||||
|
||||
* Thu May 30 17:34:06 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.16-1
|
||||
- Update to 0.2.16
|
||||
|
||||
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.15-2
|
||||
- Do not pull optional dependencies
|
||||
|
||||
* Sat Mar 09 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.15-1
|
||||
- Update to 0.2.15
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.14-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Mon Dec 10 2018 Josh Stone <jistone@redhat.com> - 0.2.14-1
|
||||
- Update to 0.2.14
|
||||
|
||||
* Thu Nov 15 2018 Josh Stone <jistone@redhat.com> - 0.2.13-1
|
||||
- Update to 0.2.13
|
||||
|
||||
* Fri Nov 09 2018 Josh Stone <jistone@redhat.com> - 0.2.12-2
|
||||
- Adapt to new packaging
|
||||
|
||||
* Thu Oct 11 2018 Josh Stone <jistone@redhat.com> - 0.2.12-1
|
||||
- Update to 0.2.12
|
||||
|
||||
* Fri Oct 05 2018 Josh Stone <jistone@redhat.com> - 0.2.11-1
|
||||
- Update to 0.2.11
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.10-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Sat Jun 23 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.10-2
|
||||
- Adopt to new macro
|
||||
|
||||
* Thu Jun 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.10-1
|
||||
- Update to 0.2.10
|
||||
|
||||
* Wed May 02 2018 Josh Stone <jistone@redhat.com> - 0.2.8-1
|
||||
- Update to 0.2.8
|
||||
|
||||
* Tue Apr 17 2018 Josh Stone <jistone@redhat.com> - 0.2.7-1
|
||||
- Update to 0.2.7
|
||||
|
||||
* Thu Mar 08 2018 Josh Stone <jistone@redhat.com> - 0.2.5-1
|
||||
- Update to 0.2.5
|
||||
|
||||
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.7-1
|
||||
- Initial package
|
||||
|
@ -1,110 +0,0 @@
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.21-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Mon Dec 28 13:33:31 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.3.21-2
|
||||
- Rebuild
|
||||
|
||||
* Thu Dec 03 2020 Fabio Valentini <decathorpe@gmail.com> - 0.3.21-1
|
||||
- Update to version 0.3.21.
|
||||
|
||||
* 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
|
||||
- Update to version 0.3.18.
|
||||
|
||||
* Wed Aug 26 2020 Josh Stone <jistone@redhat.com> - 0.3.17-1
|
||||
- Update to 0.3.17
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.15-3
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.15-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jun 19 2020 Josh Stone <jistone@redhat.com> - 0.3.15-1
|
||||
- Update to 0.3.15
|
||||
|
||||
* Thu Apr 23 2020 Josh Stone <jistone@redhat.com> - 0.3.14-1
|
||||
- Update to 0.3.14
|
||||
|
||||
* Thu Apr 09 2020 Josh Stone <jistone@redhat.com> - 0.3.13-1
|
||||
- Update to 0.3.13
|
||||
|
||||
* Wed Mar 18 2020 Josh Stone <jistone@redhat.com> - 0.3.12-1
|
||||
- Update to 0.3.12
|
||||
|
||||
* Mon Mar 02 09:09:28 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.3.11-1
|
||||
- Update to 0.3.11
|
||||
|
||||
* Mon Feb 10 2020 Josh Stone <jistone@redhat.com> - 0.3.9-1
|
||||
- Update to 0.3.9
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.7-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Jan 15 2020 Josh Stone <jistone@redhat.com> - 0.3.7-1
|
||||
- Update to 0.3.7
|
||||
|
||||
* Tue Dec 17 08:14:58 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.5-1
|
||||
- Update to 0.3.5
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.18-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu Jun 27 17:18:49 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.18-1
|
||||
- Update to 0.2.18
|
||||
|
||||
* Sun Jun 02 08:59:55 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.17-1
|
||||
- Update to 0.2.17
|
||||
|
||||
* Thu May 30 17:34:06 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.16-1
|
||||
- Update to 0.2.16
|
||||
|
||||
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.15-2
|
||||
- Do not pull optional dependencies
|
||||
|
||||
* Sat Mar 09 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.15-1
|
||||
- Update to 0.2.15
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.14-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Mon Dec 10 2018 Josh Stone <jistone@redhat.com> - 0.2.14-1
|
||||
- Update to 0.2.14
|
||||
|
||||
* Thu Nov 15 2018 Josh Stone <jistone@redhat.com> - 0.2.13-1
|
||||
- Update to 0.2.13
|
||||
|
||||
* Fri Nov 09 2018 Josh Stone <jistone@redhat.com> - 0.2.12-2
|
||||
- Adapt to new packaging
|
||||
|
||||
* Thu Oct 11 2018 Josh Stone <jistone@redhat.com> - 0.2.12-1
|
||||
- Update to 0.2.12
|
||||
|
||||
* Fri Oct 05 2018 Josh Stone <jistone@redhat.com> - 0.2.11-1
|
||||
- Update to 0.2.11
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.10-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Sat Jun 23 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.10-2
|
||||
- Adopt to new macro
|
||||
|
||||
* Thu Jun 21 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.10-1
|
||||
- Update to 0.2.10
|
||||
|
||||
* Wed May 02 2018 Josh Stone <jistone@redhat.com> - 0.2.8-1
|
||||
- Update to 0.2.8
|
||||
|
||||
* Tue Apr 17 2018 Josh Stone <jistone@redhat.com> - 0.2.7-1
|
||||
- Update to 0.2.7
|
||||
|
||||
* Thu Mar 08 2018 Josh Stone <jistone@redhat.com> - 0.2.5-1
|
||||
- Update to 0.2.5
|
||||
|
||||
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.7-1
|
||||
- Initial package
|
@ -1,158 +0,0 @@
|
||||
# Generated by rust2rpm 22
|
||||
%bcond_without check
|
||||
%global debug_package %{nil}
|
||||
|
||||
%global crate structopt
|
||||
|
||||
Name: rust-structopt
|
||||
Version: 0.3.26
|
||||
Release: %autorelease
|
||||
Summary: Parse command line argument by defining a struct
|
||||
|
||||
License: Apache-2.0 OR MIT
|
||||
URL: https://crates.io/crates/structopt
|
||||
Source: %{crates_source}
|
||||
|
||||
ExclusiveArch: %{rust_arches}
|
||||
|
||||
BuildRequires: rust-packaging >= 21
|
||||
|
||||
%global _description %{expand:
|
||||
Parse command line argument by defining a struct.}
|
||||
|
||||
%description %{_description}
|
||||
|
||||
%package devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages which
|
||||
use the "%{crate}" crate.
|
||||
|
||||
%files devel
|
||||
%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}
|
||||
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.
|
||||
|
||||
%files -n %{name}+default-devel
|
||||
%ghost %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+color-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+color-devel %{_description}
|
||||
|
||||
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 %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+debug-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+debug-devel %{_description}
|
||||
|
||||
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 %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+doc-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+doc-devel %{_description}
|
||||
|
||||
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 %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+no_cargo-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+no_cargo-devel %{_description}
|
||||
|
||||
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 %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+suggestions-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+suggestions-devel %{_description}
|
||||
|
||||
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 %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+wrap_help-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+wrap_help-devel %{_description}
|
||||
|
||||
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 %{crate_instdir}/Cargo.toml
|
||||
|
||||
%package -n %{name}+yaml-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+yaml-devel %{_description}
|
||||
|
||||
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 %{crate_instdir}/Cargo.toml
|
||||
|
||||
%prep
|
||||
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
||||
%cargo_prep
|
||||
|
||||
%generate_buildrequires
|
||||
%cargo_generate_buildrequires
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
# * flatten_twice is marked should_panic, but gets a hard error from clap
|
||||
# * ui test fails because of missing paw dependency
|
||||
%cargo_test -- -- --skip flatten_twice --skip ui
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
Loading…
Reference in new issue