|
|
@ -1,34 +1,30 @@
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
## (rpmautospec version 0.2.5)
|
|
|
|
## (rpmautospec version 0.3.5)
|
|
|
|
%define autorelease(e:s:pb:) %{?-p:0.}%{lua:
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
release_number = 11;
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
|
|
|
release_number = 1;
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist}
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
|
|
# Generated by rust2rpm 19
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate fallible-iterator
|
|
|
|
%global crate fallible-iterator
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-fallible-iterator
|
|
|
|
Version: 0.2.0
|
|
|
|
Version: 0.3.0
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Fallible iterator traits
|
|
|
|
Summary: Fallible iterator traits
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
License: MIT OR Apache-2.0
|
|
|
|
URL: https://crates.io/crates/fallible-iterator
|
|
|
|
URL: https://crates.io/crates/fallible-iterator
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Fallible iterator traits.}
|
|
|
|
Fallible iterator traits.}
|
|
|
@ -42,12 +38,14 @@ BuildArch: noarch
|
|
|
|
%description devel %{_description}
|
|
|
|
%description devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
use "%{crate}" crate.
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%license LICENSE-APACHE LICENSE-MIT
|
|
|
|
%license %{crate_instdir}/LICENSE-APACHE
|
|
|
|
%doc CHANGELOG.md README.md
|
|
|
|
%license %{crate_instdir}/LICENSE-MIT
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
%doc %{crate_instdir}/CHANGELOG.md
|
|
|
|
|
|
|
|
%doc %{crate_instdir}/README.md
|
|
|
|
|
|
|
|
%{crate_instdir}/
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -56,10 +54,10 @@ BuildArch: noarch
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
use "the default" feature of the "%{crate}" crate.
|
|
|
|
use the "default" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+alloc-devel
|
|
|
|
%package -n %{name}+alloc-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -68,10 +66,10 @@ BuildArch: noarch
|
|
|
|
%description -n %{name}+alloc-devel %{_description}
|
|
|
|
%description -n %{name}+alloc-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
use "the alloc" feature of the "%{crate}" crate.
|
|
|
|
use the "alloc" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+alloc-devel
|
|
|
|
%files -n %{name}+alloc-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+std-devel
|
|
|
|
%package -n %{name}+std-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -80,13 +78,13 @@ BuildArch: noarch
|
|
|
|
%description -n %{name}+std-devel %{_description}
|
|
|
|
%description -n %{name}+std-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
use "the std" feature of the "%{crate}" crate.
|
|
|
|
use the "std" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+std-devel
|
|
|
|
%files -n %{name}+std-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
@ -104,13 +102,19 @@ use "the std" feature of the "%{crate}" crate.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Nov 29 2023 Fabio Valentini <decathorpe@gmail.com> - 0.3.0-1
|
|
|
|
|
|
|
|
- Update to version 0.3.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Nov 29 2023 Fabio Valentini <decathorpe@gmail.com> - 0.2.0-14
|
|
|
|
|
|
|
|
- Regenerate with rust2rpm v24
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 20 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.2.0-11
|
|
|
|
* Mon Nov 20 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.2.0-11
|
|
|
|
- Rebuilt for MSVSphere 9.2
|
|
|
|
- Rebuilt for MSVSphere 9.2
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Dec 29 2021 Igor Raits <ignatenkobrain@fedoraproject.org> 0.2.0-11
|
|
|
|
* Wed Dec 29 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.2.0-11
|
|
|
|
- Rebuild
|
|
|
|
- Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Nov 28 2021 Igor Raits <ignatenkobrain@fedoraproject.org> 0.2.0-10
|
|
|
|
* Sun Nov 28 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.2.0-10
|
|
|
|
- Regenerate
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-7
|
|
|
|
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-7
|
|
|
|