From 42d38f4535ba028464e6eeda60155a01de886b18 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Nov 30 2020 16:21:44 +0000 Subject: bump hmac from 0.8 to 0.10 --- diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..c569e45 --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,4 @@ +[DEFAULT] +unwanted-features = + readability-fallback + readability-fork diff --git a/news-flash-fix-metadata.diff b/news-flash-fix-metadata.diff new file mode 100644 index 0000000..125cc0e --- /dev/null +++ b/news-flash-fix-metadata.diff @@ -0,0 +1,11 @@ +--- news-flash-1.0.10/Cargo.toml 2020-08-14T12:03:14+00:00 ++++ news-flash-1.0.10/Cargo.toml 2020-11-14T14:48:43.205910+00:00 +@@ -61,7 +61,7 @@ + version = "0.3" + + [dependencies.hmac] +-version = "0.8" ++version = "0.10" + + [dependencies.image] + version = "0.23" diff --git a/rust-news-flash.spec b/rust-news-flash.spec index 627df86..afd6ed8 100644 --- a/rust-news-flash.spec +++ b/rust-news-flash.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 15 +# Generated by rust2rpm 16 # * Tests require internet and a token %bcond_with check %global debug_package %{nil} @@ -7,13 +7,16 @@ Name: rust-%{crate} Version: 1.0.10 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Base library for a modern feed reader # Upstream license specification: GPL-3.0-or-later License: GPLv3+ URL: https://crates.io/crates/news-flash Source: %{crates_source} +# Initial patched metadata +# * bump hmac from 0.8 to 0.10 +Patch0: news-flash-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -53,30 +56,6 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+readability-fallback-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+readability-fallback-devel %{_description} - -This package contains library source intended for building other packages -which use "readability-fallback" feature of "%{crate}" crate. - -%files -n %{name}+readability-fallback-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+readability-fork-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+readability-fork-devel %{_description} - -This package contains library source intended for building other packages -which use "readability-fork" feature of "%{crate}" crate. - -%files -n %{name}+readability-fork-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep @@ -96,6 +75,10 @@ which use "readability-fork" feature of "%{crate}" crate. %endif %changelog +* Sat Nov 14 2020 Fabio Valentini - 1.0.10-2 +- Bump hmac from 0.8 to 0.10. +- Drop readability-fallback dependency to avoid broken dependencies. + * Wed Sep 16 2020 Fabio Valentini - 1.0.10-1 - Update to version 1.0.10.