|
|
@ -1,4 +1,4 @@
|
|
|
|
# Generated by rust2rpm 9
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
# * crates-index is not packaged
|
|
|
|
# * crates-index is not packaged
|
|
|
|
%bcond_with check
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
@ -7,7 +7,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.9.0
|
|
|
|
Version: 0.9.0
|
|
|
|
Release: 9%{?dist}
|
|
|
|
Release: 10%{?dist}
|
|
|
|
Summary: Semantic version parsing and comparison
|
|
|
|
Summary: Semantic version parsing and comparison
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
@ -21,15 +21,6 @@ BuildArch: noarch
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
%if ! %{__cargo_skip_build}
|
|
|
|
|
|
|
|
BuildRequires: (crate(semver-parser/default) >= 0.7.0 with crate(semver-parser/default) < 0.8.0)
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
|
|
|
BuildRequires: (crate(crates-index/default) >= 0.5.0 with crate(crates-index/default) < 0.6.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default) < 2.0.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(tempdir/default) >= 0.3.4 with crate(tempdir/default) < 0.4.0)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Semantic version parsing and comparison.}
|
|
|
|
Semantic version parsing and comparison.}
|
|
|
@ -90,6 +81,9 @@ which use "serde" feature of "%{crate}" crate.
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
|
|
@ -102,6 +96,9 @@ which use "serde" feature of "%{crate}" crate.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Jun 20 11:12:03 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-10
|
|
|
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jun 09 15:24:52 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-9
|
|
|
|
* Sun Jun 09 15:24:52 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-9
|
|
|
|
- Regenerate
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
|
|