From 4c0362bb1a5e8c9d3695c1ea9da6e7ecf8f00d99 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Sun, 23 Feb 2020 10:32:17 +0100 Subject: [PATCH] Update to 2.2.0 Signed-off-by: Igor Raits --- .gitignore | 1 + rust-data-encoding.spec | 52 ++++++++++++++++++++++++++++++++++------- sources | 2 +- 3 files changed, 45 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index e1d896c..9e51f2c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /data-encoding-2.1.0.crate /data-encoding-2.1.1.crate /data-encoding-2.1.2.crate +/data-encoding-2.2.0.crate diff --git a/rust-data-encoding.spec b/rust-data-encoding.spec index dc5bce2..c35e103 100644 --- a/rust-data-encoding.spec +++ b/rust-data-encoding.spec @@ -1,24 +1,28 @@ -# Generated by rust2rpm +# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} %global crate data-encoding Name: rust-%{crate} -Version: 2.1.2 -Release: 4%{?dist} +Version: 2.2.0 +Release: 1%{?dist} Summary: Efficient and customizable data-encoding functions +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/data-encoding -Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -%global _description \ -Efficient and customizable data-encoding functions. +%global _description %{expand: +Efficient and customizable data-encoding functions.} %description %{_description} @@ -34,7 +38,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} @@ -46,12 +50,39 @@ 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}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages +which use "alloc" feature of "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages +which use "std" feature of "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -64,6 +95,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Sun Feb 23 10:31:41 CET 2020 Igor Raits - 2.2.0-1 +- Update to 2.2.0 + * Thu Jan 30 2020 Fedora Release Engineering - 2.1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index 798d436..72e7320 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (data-encoding-2.1.2.crate) = 2c8bea2a18c019013512f9d89a5f71f2bdefa3feb0e3fd51c692bd0432c85464b80b50b38dd14a31a2794f98e4aa5fbe6259fd34fa2764a1ecfa31375e4afaed +SHA512 (data-encoding-2.2.0.crate) = 66996717b5e596bcfc2117c3a4566be22cf07c347bdfaa31fbe3f4df567663a54d716f079e7fc75b4c48ad548b08ed6f6b18443d17549d29c954c9f166f22cb7