From 33820c52e4f18723c385e7dc8d4097665c3b5667 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 11 May 2022 16:23:00 +0200 Subject: [PATCH] Update to version 1.5.13; Fixes RHBZ#2080912 --- rust-paris.spec | 33 +++++++++++---------------------- sources | 2 +- 2 files changed, 12 insertions(+), 23 deletions(-) diff --git a/rust-paris.spec b/rust-paris.spec index 1cc9bed..bd54fe1 100644 --- a/rust-paris.spec +++ b/rust-paris.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 21 %bcond_without check %global debug_package %{nil} %global crate paris Name: rust-%{crate} -Version: 1.5.11 +Version: 1.5.13 Release: %autorelease Summary: Simple logger for your CLI apps or other things you want in the terminal @@ -16,7 +16,7 @@ Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Simple logger for your CLI apps or other things you want in the terminal.} @@ -33,9 +33,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE -%doc CONTRIBUTING.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/CONTRIBUTING.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,19 +48,7 @@ This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+chrono-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+chrono-devel %{_description} - -This package contains library source intended for building other packages which -use the "chrono" feature of the "%{crate}" crate. - -%files -n %{name}+chrono-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+macros-devel Summary: %{summary} @@ -71,7 +60,7 @@ This package contains library source intended for building other packages which use the "macros" feature of the "%{crate}" crate. %files -n %{name}+macros-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+no_logger-devel Summary: %{summary} @@ -83,7 +72,7 @@ This package contains library source intended for building other packages which use the "no_logger" feature of the "%{crate}" crate. %files -n %{name}+no_logger-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+timestamps-devel Summary: %{summary} @@ -95,7 +84,7 @@ This package contains library source intended for building other packages which use the "timestamps" feature of the "%{crate}" crate. %files -n %{name}+timestamps-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index d8d6a71..0713026 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (paris-1.5.11.crate) = f26cf1213a06e5886f114637ab677dddc7fbb140ffaa79e932125b0f1a60611cdd46e008a7a81c4cffa9e4d4b778849ec2e73ff9bcad217df0729e7e8308a26d +SHA512 (paris-1.5.13.crate) = f31590a83bde2a0b9122e6b541a7d7db967effa6e01b2b29deb28cd7cce15252b6050cbe40a6ef2d1e1e5893301551465462bcd64767694f935d140a623242d7