You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
208 lines
6.5 KiB
208 lines
6.5 KiB
## START: Set by rpmautospec
|
|
## (rpmautospec version 0.3.5)
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
%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 25
|
|
%bcond_without check
|
|
%global debug_package %{nil}
|
|
|
|
%global crate clap_derive
|
|
|
|
Name: rust-clap_derive
|
|
Version: 4.4.7
|
|
Release: %autorelease
|
|
Summary: Parse command line argument by defining a struct, derive crate
|
|
|
|
License: MIT OR Apache-2.0
|
|
URL: https://crates.io/crates/clap_derive
|
|
Source: %{crates_source}
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
%global _description %{expand:
|
|
Parse command line argument by defining a struct, derive crate.}
|
|
|
|
%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}/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}+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}+deprecated-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+deprecated-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "deprecated" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+deprecated-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+raw-deprecated-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+raw-deprecated-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "raw-deprecated" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+raw-deprecated-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+unstable-v5-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+unstable-v5-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "unstable-v5" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+unstable-v5-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%prep
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
%cargo_prep
|
|
|
|
%generate_buildrequires
|
|
%cargo_generate_buildrequires
|
|
|
|
%build
|
|
%cargo_build
|
|
|
|
%install
|
|
%cargo_install
|
|
|
|
%if %{with check}
|
|
%check
|
|
%cargo_test
|
|
%endif
|
|
|
|
%changelog
|
|
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 4.4.7-1
|
|
- Rebuilt for MSVSphere 9.3
|
|
|
|
* Fri Nov 10 2023 Fabio Valentini <decathorpe@gmail.com> - 4.4.7-1
|
|
- Update to version 4.4.7; Fixes RHBZ#2245961
|
|
|
|
* Wed Sep 20 2023 Fabio Valentini <decathorpe@gmail.com> - 4.4.2-1
|
|
- Update to version 4.4.2; Fixes RHBZ#2234508
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.12-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
* Mon Jul 17 2023 Fabio Valentini <decathorpe@gmail.com> - 4.3.12-1
|
|
- Update to version 4.3.12; Fixes RHBZ#2222988
|
|
|
|
* Fri Jul 07 2023 Fabio Valentini <decathorpe@gmail.com> - 4.3.2-1
|
|
- Update to version 4.3.2; Fixes RHBZ#2212527
|
|
|
|
* Sun Jun 04 2023 Fabio Valentini <decathorpe@gmail.com> - 4.3.1-1
|
|
- Update to version 4.3.1; Fixes RHBZ#2208632
|
|
|
|
* Sat Apr 08 2023 Fabio Valentini <decathorpe@gmail.com> - 4.2.0-1
|
|
- Update to version 4.2.0; Fixes RHBZ#2179173
|
|
|
|
* Thu Mar 16 2023 Fabio Valentini <decathorpe@gmail.com> - 4.1.8-1
|
|
- Update to version 4.1.8; Fixes RHBZ#2173748
|
|
|
|
* Tue Feb 21 2023 Fabio Valentini <decathorpe@gmail.com> - 4.1.0-1
|
|
- Update to version 4.1.0; Fixes RHBZ#2128537
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.18-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
* Sat Sep 10 2022 Fabio Valentini <decathorpe@gmail.com> - 3.2.18-1
|
|
- Update to version 3.2.18; Fixes RHBZ#2122282
|
|
|
|
* Sat Aug 20 2022 Fabio Valentini <decathorpe@gmail.com> - 3.2.17-1
|
|
- Update to version 3.2.17; Fixes RHBZ#2117908
|
|
|
|
* Wed Jul 27 2022 Fabio Valentini <decathorpe@gmail.com> - 3.2.15-1
|
|
- Update to version 3.2.15; Fixes RHBZ#2110727
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.7-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
* Sun Jul 03 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.2.7-1
|
|
- Version 3.2.7 (rhbz#2096355)
|
|
|
|
* Wed May 11 2022 Fabio Valentini <decathorpe@gmail.com> - 3.1.18-1
|
|
- Update to version 3.1.18; Fixes RHBZ#2060054
|
|
|
|
* Wed Mar 02 2022 Fabio Valentini <decathorpe@gmail.com> - 3.1.2-3
|
|
- Revert temporary workarounds for rustc 1.59 issues on s390x
|
|
|
|
* Sun Feb 27 2022 Fabio Valentini <decathorpe@gmail.com> - 3.1.2-2
|
|
- Temporarily work around rustc 1.59 issues on s390x
|
|
|
|
* Sat Feb 26 2022 Fabio Valentini <decathorpe@gmail.com> - 3.1.2-1
|
|
- Update to version 3.1.2; Fixes RHBZ#2055353
|
|
|
|
* Thu Feb 03 2022 Fabio Valentini <decathorpe@gmail.com> - 3.0.14-1
|
|
- Update to version 3.0.14; Fixes RHBZ#2044531
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.6-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
* Tue Jan 18 2022 Fabio Valentini <decathorpe@gmail.com> - 3.0.6-1
|
|
- Update to version 3.0.6; Fixes RHBZ#2030446
|
|
|
|
* Sun Nov 14 2021 Robert-André Mauchin <zebob.m@gmail.com> - 3.0.0~beta.5-1
|
|
- Update to 3.0.0~beta.5
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0~beta.2-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0~beta.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
* Fri Dec 25 11:57:40 CET 2020 Igor Raits <igor.raits@gmail.com> - 3.0.0~beta.2-1
|
|
- Initial package
|
|
|