commit
fb2b88adf8
Binary file not shown.
@ -0,0 +1,206 @@
|
||||
## START: Set by rpmautospec
|
||||
## (rpmautospec version 0.3.0)
|
||||
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
||||
release_number = 3;
|
||||
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 18
|
||||
%bcond_without check
|
||||
%global debug_package %{nil}
|
||||
|
||||
%global crate structopt-derive
|
||||
|
||||
Name: rust-%{crate}
|
||||
Version: 0.4.18
|
||||
Release: %autorelease
|
||||
Summary: Parse command line argument by defining a struct, derive crate
|
||||
|
||||
# Upstream license specification: Apache-2.0/MIT
|
||||
License: ASL 2.0 or MIT
|
||||
URL: https://crates.io/crates/structopt-derive
|
||||
Source: %{crates_source}
|
||||
|
||||
ExclusiveArch: %{rust_arches}
|
||||
%if %{__cargo_skip_build}
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
BuildRequires: rust-packaging
|
||||
|
||||
%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 "%{crate}" crate.
|
||||
|
||||
%files devel
|
||||
%license LICENSE-APACHE LICENSE-MIT
|
||||
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
||||
|
||||
%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 "default" feature of "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+default-devel
|
||||
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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
|
||||
%cargo_test
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.4.18-3
|
||||
- Rebuilt for MSVSphere 9.3
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> 0.4.18-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> 0.4.18-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Nov 05 2021 Fabio Valentini <decathorpe@gmail.com> 0.4.18-1
|
||||
- Update to version 0.4.18; Fixes RHBZ#2015003
|
||||
|
||||
* Tue Aug 31 2021 Fabio Valentini <decathorpe@gmail.com> 0.4.16-1
|
||||
- Update to version 0.4.16; Fixes RHBZ#1999248
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> 0.4.15-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Sun Jul 18 2021 Fabio Valentini <decathorpe@gmail.com> 0.4.15-1
|
||||
- Update to version 0.4.15; Fixes RHBZ#1979060
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.14-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Thu Dec 03 2020 Fabio Valentini <decathorpe@gmail.com> - 0.4.14-1
|
||||
- Update to version 0.4.14.
|
||||
|
||||
* Mon Nov 09 2020 Fabio Valentini <decathorpe@gmail.com> - 0.4.13-1
|
||||
- Update to version 0.4.13.
|
||||
- Fixes RHBZ#1886428
|
||||
|
||||
* Wed Sep 23 2020 Fabio Valentini <decathorpe@gmail.com> - 0.4.11-1
|
||||
- Update to version 0.4.11.
|
||||
|
||||
* Wed Aug 26 2020 Josh Stone <jistone@redhat.com> - 0.4.10-1
|
||||
- Update to 0.4.10
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-3
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jun 19 2020 Josh Stone <jistone@redhat.com> - 0.4.8-1
|
||||
- Update to 0.4.8
|
||||
|
||||
* Thu Apr 23 2020 Josh Stone <jistone@redhat.com> - 0.4.7-1
|
||||
- Update to 0.4.7
|
||||
|
||||
* Thu Apr 09 2020 Josh Stone <jistone@redhat.com> - 0.4.6-1
|
||||
- Update to 0.4.6
|
||||
|
||||
* Wed Apr 08 2020 Josh Stone <jistone@redhat.com> - 0.4.5-2
|
||||
- Bump to proc-macro-error 1.0.0
|
||||
|
||||
* Wed Mar 18 2020 Josh Stone <jistone@redhat.com> - 0.4.5-1
|
||||
- Update to 0.4.5
|
||||
|
||||
* Mon Mar 02 09:10:07 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.4.4-1
|
||||
- Update to 0.4.4
|
||||
|
||||
* Mon Feb 10 2020 Josh Stone <jistone@redhat.com> - 0.4.2-1
|
||||
- Update to 0.4.2
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Jan 15 2020 Josh Stone <jistone@redhat.com> - 0.4.0-1
|
||||
- Update to 0.4.0
|
||||
|
||||
* Tue Dec 17 08:14:07 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:19:42 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.18-1
|
||||
- Update to 0.2.18
|
||||
|
||||
* Sun Jun 02 08:58:57 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.17-1
|
||||
- Update to 0.2.17
|
||||
|
||||
* Thu May 30 17:35:05 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.16-1
|
||||
- Update to 0.2.16
|
||||
|
||||
* 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-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* 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.6-1
|
||||
- Initial package
|
||||
|
Loading…
Reference in new issue