From c63797dc2426610c27feb2ec5d3adcfc922203e2 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 15 Dec 2020 21:12:25 +0100 Subject: [PATCH] update to version 0.16.0 --- .gitignore | 1 + .rust2rpm.conf | 3 +++ rust-pager.spec | 30 +++++++++++++++++++----------- sources | 2 +- 4 files changed, 24 insertions(+), 12 deletions(-) create mode 100644 .rust2rpm.conf diff --git a/.gitignore b/.gitignore index 1c731aa..28260e4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /pager-0.13.0.crate /pager-0.14.0.crate /pager-0.15.0.crate +/pager-0.16.0.crate diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..4574d5d --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,3 @@ +[DEFAULT] +buildrequires = + less diff --git a/rust-pager.spec b/rust-pager.spec index 1400d90..818f693 100644 --- a/rust-pager.spec +++ b/rust-pager.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm -%bcond_with check +# Generated by rust2rpm 16 +%bcond_without check %global debug_package %{nil} %global crate pager Name: rust-%{crate} -Version: 0.15.0 -Release: 6%{?dist} +Version: 0.16.0 +Release: 1%{?dist} Summary: Helps pipe your output through an external pager # Upstream license specification: Apache-2.0/MIT @@ -15,13 +15,15 @@ URL: https://crates.io/crates/pager Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(errno/default) >= 0.2.0 with crate(errno/default) < 0.3.0) -BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0) +BuildRequires: less -%global _description \ -Helps pipe your output through an external pager. +%global _description %{expand: +Helps pipe your output through an external pager.} %description %{_description} @@ -37,7 +39,7 @@ which use "%{crate}" crate. %files devel %license LICENSE-APACHE LICENSE-MIT %doc CHANGELOG.md README.md -%{cargo_registry}/%{crate}-%{version}/ +%{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel Summary: %{summary} @@ -49,7 +51,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 %package -n %{name}+pedantic-devel Summary: %{summary} @@ -61,12 +63,15 @@ This package contains library source intended for building other packages which use "pedantic" feature of "%{crate}" crate. %files -n %{name}+pedantic-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 @@ -79,6 +84,9 @@ which use "pedantic" feature of "%{crate}" crate. %endif %changelog +* Tue Dec 15 2020 Fabio Valentini - 0.16.0-1 +- Update to version 0.16.0. + * Wed Jul 29 2020 Fedora Release Engineering - 0.15.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 84dfbbd..90d1121 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pager-0.15.0.crate) = a9af4de81eabb6c3d71470536b15f757bdd9159927fdc4e391be93f08663871a839799c6777305e139be47be1a2aa52993f8f7da57234e827ef90f138e60a7ad +SHA512 (pager-0.16.0.crate) = c2ca31769968429dd986ee822b11d7e2c1045f6920384a8b5b913f68eda5169026fce0ecb67a0c65ba392930ce00a3e4ff17acb8122286a941c46161f8cd5174