[packages/libreport] - require /etc/system-release (from pld-release >= 3.0-8) for tests to succeed - rebuild auto* for a

qboosh qboosh at pld-linux.org
Fri May 13 22:42:07 CEST 2016


commit e81f471e7c0f9fedb6b37ab40933a3958a6ffccb
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri May 13 22:42:08 2016 +0200

    - require /etc/system-release (from pld-release >= 3.0-8) for tests to succeed
    - rebuild auto* for as-needed to work (to avoid propagating dozens of e.g. curl dependencies)
    - release 2

 libreport.spec | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/libreport.spec b/libreport.spec
index e8be9df..b132a0f 100644
--- a/libreport.spec
+++ b/libreport.spec
@@ -7,7 +7,7 @@ Summary:	Generic library for reporting various problems
 Summary(pl.UTF-8):	Ogólna biblioteka do zgłaszania różnych problemów
 Name:		libreport
 Version:	2.7.0
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Libraries
 Source0:	https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
@@ -34,6 +34,8 @@ BuildRequires:	libxml2-devel >= 2
 BuildRequires:	newt-devel
 BuildRequires:	nss-devel
 BuildRequires:	pkgconfig
+# /etc/system-release for non-empty os_release content
+%{?with_tests:BuildRequires:	pld-release >= 3.0-8}
 BuildRequires:	python-devel >= 2
 BuildRequires:	python3-devel >= 1:3
 BuildRequires:	rpmbuild(macros) >= 1.612
@@ -355,6 +357,11 @@ zgłaszania błędów w systemach RHEL.
 %patch0 -p1
 
 %build
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
 	AUGPARSE=/usr/bin/augparse \
 	--disable-silent-rules
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libreport.git/commitdiff/e81f471e7c0f9fedb6b37ab40933a3958a6ffccb



More information about the pld-cvs-commit mailing list