From f410d842fbe941e22666743d43a95b7391dbff3c Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 7 Jan 2019 17:35:24 -0800 Subject: [PATCH] Update to 2.1.2 Adapt to new packaging --- .gitignore | 1 + rust-data-encoding.spec | 41 +++++++++++++++++++++++++++++------------ sources | 2 +- 3 files changed, 31 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index d2caa31..e1d896c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /data-encoding-2.0.0.crate /data-encoding-2.1.0.crate /data-encoding-2.1.1.crate +/data-encoding-2.1.2.crate diff --git a/rust-data-encoding.spec b/rust-data-encoding.spec index f040b41..42487f1 100644 --- a/rust-data-encoding.spec +++ b/rust-data-encoding.spec @@ -5,8 +5,8 @@ %global crate data-encoding Name: rust-%{crate} -Version: 2.1.1 -Release: 3%{?dist} +Version: 2.1.2 +Release: 1%{?dist} Summary: Efficient and customizable data-encoding functions License: MIT @@ -17,18 +17,36 @@ ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging -%description -%{summary}. +%global _description \ +Efficient and customizable data-encoding functions. + +%description %{_description} %package devel Summary: %{summary} BuildArch: noarch -%description devel -Efficient and customizable data-encoding functions. +%description devel %{_description} This package contains library source intended for building other packages -which use %{crate} from crates.io. +which use "%{crate}" crate. + +%files devel +%license LICENSE +%doc README.md +%{cargo_registry}/%{crate}-%{version}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +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 %prep %autosetup -n %{crate}-%{version} -p1 @@ -45,12 +63,11 @@ which use %{crate} from crates.io. %cargo_test %endif -%files devel -%license LICENSE -%doc README.md -%{cargo_registry}/%{crate}-%{version}/ - %changelog +* Tue Jan 08 2019 Josh Stone - 2.1.2-1 +- Update to 2.1.2 +- Adapt to new packaging + * Sat Jul 14 2018 Fedora Release Engineering - 2.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 74254e8..798d436 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (data-encoding-2.1.1.crate) = 584291b05119e41f84d27397fd65f2901f09409333cb72675897543cd92e1d86af6cfd8a7983fd8bf96299bf516c396ed7ec53dcaf4f567f049b171d3e5de4ab +SHA512 (data-encoding-2.1.2.crate) = 2c8bea2a18c019013512f9d89a5f71f2bdefa3feb0e3fd51c692bd0432c85464b80b50b38dd14a31a2794f98e4aa5fbe6259fd34fa2764a1ecfa31375e4afaed