From e942d1c7b1857e612d4c283618db14789242ee63 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Tue, 7 Jul 2015 12:03:54 +0200 Subject: [PATCH] spec: move to %autosetup macro Version: 1.15-4 --- ....patch => automake-1.15-disable-vala-tests.patch | 11 +++++++++-- automake.spec | 13 +++++++------ 2 files changed, 16 insertions(+), 8 deletions(-) rename automake-1.13.1-disable-tests.patch => automake-1.15-disable-vala-tests.patch (58%) diff --git a/automake-1.13.1-disable-tests.patch b/automake-1.15-disable-vala-tests.patch similarity index 58% rename from automake-1.13.1-disable-tests.patch rename to automake-1.15-disable-vala-tests.patch index 5fc5086..dbbbe3f 100644 --- a/automake-1.13.1-disable-tests.patch +++ b/automake-1.15-disable-vala-tests.patch @@ -1,8 +1,15 @@ +From: Pavel Raiskup +Date: Tue, 7 Jul 2015 11:46:24 +0200 +Subject: [PATCH] tests: disable vala testcases + +Currently broken vala installation in Fedora? Upstream thread: +http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12522 + diff --git a/t/list-of-tests.mk b/t/list-of-tests.mk -index 591b4f0..20a9398 100644 +index 9363ee3..b99f15c 100644 --- a/t/list-of-tests.mk +++ b/t/list-of-tests.mk -@@ -1202,16 +1200,6 @@ t/upc2.sh \ +@@ -1239,16 +1239,6 @@ t/upc2.sh \ t/upc3.sh \ t/vala-configure.sh \ t/vala-grepping.sh \ diff --git a/automake.spec b/automake.spec index 6e0c33c..5dfdd47 100644 --- a/automake.spec +++ b/automake.spec @@ -6,7 +6,7 @@ Summary: A GNU tool for automatically creating Makefiles Name: automake Version: %{api_version} -Release: 3%{?dist} +Release: 4%{?dist} # docs ~> GFDL, sources ~> GPLv2+, mkinstalldirs ~> PD and install-sh ~> MIT License: GPLv2+ and GFDL and Public Domain and MIT @@ -16,9 +16,8 @@ Source: ftp://ftp.gnu.org/gnu/automake/automake-%{version}.tar.xz Source2: http://git.savannah.gnu.org/cgit/config.git/plain/config.sub Source3: http://git.savannah.gnu.org/cgit/config.git/plain/config.guess -# Disable tests for broken vala installation -# ~> downstream -Patch0: %{name}-1.13.1-disable-tests.patch +# Keep those patches in 'git format-patch' format (with docs). +Patch0: automake-1.15-disable-vala-tests.patch URL: http://www.gnu.org/software/automake/ Requires: autoconf >= 2.65 @@ -67,8 +66,7 @@ like to use its ability to automatically generate GNU standard Makefiles. %prep -%setup -q -n automake-%{version} -%patch0 -p1 -b .disable_tests +%autosetup -p1 autoreconf -iv file=`find -name config.sub | head -1` @@ -116,6 +114,9 @@ fi %{_mandir}/man1/* %changelog +* Tue Jul 07 2015 Pavel Raiskup - 1.15-4 +- use %%autosetup macro + * Tue Jun 23 2015 Pavel Raiskup - 1.15-3 - add perl-Thread-Queue BR to avoid FTBFS