From be918d1887ac975aee1a58f6ffa3b9a114cd28ba Mon Sep 17 00:00:00 2001 From: Michael Schwendt Date: Jan 29 2016 22:23:06 +0000 Subject: no build: - drop superfluous %defattr as per discussion on devel@ list - BR the "file" package update that fixes the Perl Prov/Req again --- diff --git a/clawsker-0.7.11-shebang.patch b/clawsker-0.7.11-shebang.patch deleted file mode 100644 index f950d4d..0000000 --- a/clawsker-0.7.11-shebang.patch +++ /dev/null @@ -1,7 +0,0 @@ -diff -Nr -u1 clawsker-0.7.11-orig/clawsker clawsker-0.7.11/clawsker ---- clawsker-0.7.11-orig/clawsker 2014-05-28 11:02:50.000000000 +0200 -+++ clawsker-0.7.11/clawsker 2015-12-15 20:18:59.334525914 +0100 -@@ -1,2 +1,2 @@ --#!/usr/bin/perl -w -+#!/usr/bin/perl - # diff --git a/clawsker.spec b/clawsker.spec index 2572f65..f165bf2 100644 --- a/clawsker.spec +++ b/clawsker.spec @@ -2,7 +2,7 @@ Name: clawsker Version: 0.7.13 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Dialog to edit Claws Mail's hidden preferences Group: Applications/Internet @@ -12,8 +12,11 @@ Source0: http://www.claws-mail.org/tools/%{name}-%{version}.tar.gz Source1: %{name}.desktop BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -# perl -w breaks Perl prov/req depfinder since Fedora 23 -Patch0: clawsker-0.7.11-shebang.patch +%if 0%{?fedora} > 21 +# Perl prov/req depfinder broken by regression in file format detection +# fixed with an update: +BuildRequires: file >= 5.22-5.fc22 +%endif BuildArch: noarch BuildRequires: gettext @@ -31,7 +34,6 @@ Claws Mail is a fast and lightweight Mail User Agent by the Claws Mail Team. %prep %setup -q -%patch0 -p1 -b .perl-shebang %build @@ -54,7 +56,6 @@ rm -rf %{buildroot} %files -f %{name}.lang -%defattr(-,root,root,-) %doc AUTHORS ChangeLog.old NEWS README %license COPYING %{_bindir}/%{name} @@ -63,6 +64,10 @@ rm -rf %{buildroot} %changelog +* Fri Jan 29 2016 Michael Schwendt - 0.7.13-2 +- drop superfluous %%defattr +- BR the "file" package update that fixes the Perl Prov/Req again + * Tue Dec 15 2015 Michael Schwendt - 0.7.13-1 - Update to 0.7.13 (also fixes hardcoded /tmp, #1161132).