Modules now use deps from rawhide

This commit is contained in:
Igor Gnatenko 2019-04-11 16:17:21 +02:00
parent 2935cf82cc
commit 205e343cdb
5 changed files with 1 additions and 69 deletions

2
.gitignore vendored
View File

@ -1,2 +0,0 @@
/rpick-0.1.0.crate
/rpick-0.2.0.crate

View File

@ -1,3 +0,0 @@
# rust-rpick
The rust-rpick package

1
dead.package Normal file
View File

@ -0,0 +1 @@
Modules now use deps from rawhide

View File

@ -1,63 +0,0 @@
# Generated by rust2rpm
%bcond_without check
%global crate rpick
Name: rust-%{crate}
Version: 0.2.0
Release: 1%{?dist}
Summary: Command line tool that helps you to pick items from a sorted list
# Upstream license specification: GPL-3.0
License: GPLv3
URL: https://crates.io/crates/rpick
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: (crate(dirs/default) >= 1.0.0 with crate(dirs/default) < 2.0.0)
BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0)
BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0)
BuildRequires: (crate(serde/derive) >= 1.0.0 with crate(serde/derive) < 2.0.0)
BuildRequires: (crate(serde_yaml/default) >= 0.8.0 with crate(serde_yaml/default) < 0.9.0)
BuildRequires: (crate(structopt/default) >= 0.2.0 with crate(structopt/default) < 0.3.0)
%global _description \
Helps you pick items from a list by various algorithms. Example uses: pick a\
restaurant you haven't been to in a while, or an album to listen to.
%description %{_description}
%package -n %{crate}
Summary: %{summary}
%description -n %{crate}
%{summary}.
%files -n %{crate}
%license LICENSE
%doc README.md
%{_bindir}/rpick
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
* Wed Mar 13 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.0-1
- Update to 0.2.0
* Tue Mar 05 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.0-1
- Initial package

View File

@ -1 +0,0 @@
SHA512 (rpick-0.2.0.crate) = 1e665056bb36f3a36747e807344e13ba8549b77fb976526602518b511c83e6b82d01a5960b2ee5a41e2e3b8c6d3356888f7e7afea37d94694d32bf736e5f9a43