Update to 0.5.0

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Raits 2020-02-16 07:51:06 +01:00
parent 8c79d4b35c
commit 2a2e449888
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C
4 changed files with 15 additions and 23 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
/rpick-0.3.0.crate
/rpick-0.3.1.crate
/rpick-0.4.0.crate
/rpick-0.5.0.crate

View File

@ -1,11 +0,0 @@
--- rpick-0.4.0/Cargo.toml 1970-01-01T00:00:00+00:00
+++ rpick-0.4.0/Cargo.toml 2019-06-19T11:20:06.162667+00:00
@@ -23,7 +23,7 @@
license = "GPL-3.0"
repository = "https://gitlab.com/bowlofeggs/rpick"
[dependencies.dirs]
-version = "1.0"
+version = "2"
[dependencies.rand]
version = "0.6"

View File

@ -1,22 +1,17 @@
# Generated by rust2rpm 10
# Generated by rust2rpm 13
%bcond_without check
%global crate rpick
Name: rust-%{crate}
Version: 0.4.0
Release: 5%{?dist}
Version: 0.5.0
Release: 1%{?dist}
Summary: Helps you pick items from a list by various algorithms
# Upstream license specification: GPL-3.0
# The binary license is the combination of rpick's license and all of its dependencies. You can use
# cargo-license to find these: https://github.com/onur/cargo-license
License: GPLv3 and Apache-2.0 and BSD-2 and CC0-1.0 and ISC and MIT
License: GPLv3
URL: https://crates.io/crates/rpick
Source: %{crates_source}
# Initial patched metadata
# * Update dirs to 2, https://gitlab.com/bowlofeggs/rpick/merge_requests/22
Patch0: rpick-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
@ -34,6 +29,10 @@ restaurant you haven't been to in a while, or an album to listen to.}
%if ! %{__cargo_skip_build}
%package -n %{crate}
Summary: %{summary}
# Install all deps (without check), grab their licenses and make it simple
# * MIT
# * ASL 2.0 or MIT
License: GPLv3 and MIT
%description -n %{crate} %{_description}
@ -55,7 +54,7 @@ which use "%{crate}" crate.
%files devel
%license LICENSE
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -67,7 +66,7 @@ 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}/Cargo.toml
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
@ -88,6 +87,9 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
* Sun Feb 16 07:32:09 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.5.0-1
- Update to 0.5.0
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (rpick-0.4.0.crate) = 3560698aa2a917b320334ce2414b71f324731548850baf96ebed520240706eca1e57e4b02d79b01e67beaa89c7dd281cb6bccce361c7e8b5bbfce4eed1d2709a
SHA512 (rpick-0.5.0.crate) = c11b63081216071e74b655eaf72830ea3f154431bc12b84a23d4e2b2aa0c64ae0bb4ed7bb184b92cbe70747bac3ec28a6976a9690684821c34851a31e805b6fc