From 0ae6b372f2f31826eab21910b429cbad95c91761 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Oct 19 2020 13:18:41 +0000 Subject: update to version 0.7.0 --- diff --git a/.gitignore b/.gitignore index 24eef78..acef207 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /lipsum-0.4.0.crate /lipsum-0.5.0.crate /lipsum-0.6.0.crate +/lipsum-0.7.0.crate diff --git a/rust-lipsum.spec b/rust-lipsum.spec index 599669e..0a82ca7 100644 --- a/rust-lipsum.spec +++ b/rust-lipsum.spec @@ -1,34 +1,31 @@ -# Generated by rust2rpm -# * Tests are run in infrastructure -%bcond_with check +# Generated by rust2rpm 13 +%bcond_without check %global debug_package %{nil} %global crate lipsum Name: rust-%{crate} -Version: 0.6.0 -Release: 4%{?dist} +Version: 0.7.0 +Release: 1%{?dist} Summary: Lorem ipsum text generation library +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/lipsum Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0) -%if %{with check} -BuildRequires: (crate(rand_xorshift/default) >= 0.1.0 with crate(rand_xorshift/default) < 0.2.0) -BuildRequires: (crate(version-sync/default) >= 0.6.0 with crate(version-sync/default) < 0.7.0) -%endif -%global _description \ -Lipsum is a lorem ipsum text generation library. Use this if you need some\ -filler text for your application.\ -\ -The text is generated using a simple Markov chain, which you can also\ -instantiate to generate your own pieces of pseudo-random text. +%global _description %{expand: +Lorem ipsum text generation library. Use this if you need some filler text for +your application. +The text is generated using a simple Markov chain, which you can also +instantiate to generate your own pieces of pseudo-random text.} %description %{_description} @@ -44,7 +41,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} @@ -56,12 +53,15 @@ 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 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -74,6 +74,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Mon Oct 19 2020 Fabio Valentini - 0.7.0-1 +- Update to version 0.7.0. + * Wed Jul 29 2020 Fedora Release Engineering - 0.6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index e1de65b..6e58114 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lipsum-0.6.0.crate) = 7a2b657f0c4ca7ca2ad199ec788b85fe0706f9387045de82d75a3727b242b997fc554cc3347b48274b3e0b65cbb62475738d72710bb5a06378c9ad86a8145ba0 +SHA512 (lipsum-0.7.0.crate) = d6d79d6e3abf9f30853b686ae37b89655ce505c167263414beacbfd1614f1233535c7bfa69a05b1e6ac8f644592b8c26f7ff0a7594294329b7402292f5c78acb