Fix test-suite expectations on rawhide

Also make test-suite failures debuggable
This commit is contained in:
Panu Matilainen 2021-06-23 10:57:18 +03:00
parent cc9c1c577d
commit 3a6f3a72bb

View File

@ -5,10 +5,11 @@
Summary: C library for parsing command line parameters Summary: C library for parsing command line parameters
Name: popt Name: popt
Version: %{ver}%{?snap:~%{snap}} Version: %{ver}%{?snap:~%{snap}}
Release: 4%{?dist} Release: 5%{?dist}
License: MIT License: MIT
URL: https://github.com/rpm-software-management/popt/ URL: https://github.com/rpm-software-management/popt/
Source0: http://ftp.rpm.org/popt/releases/popt-1.x/%{name}-%{srcver}.tar.gz Source0: http://ftp.rpm.org/popt/releases/popt-1.x/%{name}-%{srcver}.tar.gz
Patch0: popt-1.18-ltname.patch
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gettext BuildRequires: gettext
BuildRequires: make BuildRequires: make
@ -43,7 +44,7 @@ Install it if you need to link statically with libpopt.
%endif %endif
%prep %prep
%autosetup -n %{name}-%{srcver} %autosetup -n %{name}-%{srcver} -p1
%build %build
%configure %{?_without_static:--disable-static} %configure %{?_without_static:--disable-static}
@ -61,7 +62,7 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/popt.d/
%find_lang %{name} %find_lang %{name}
%check %check
make check make check || cat tests/*.log
%ldconfig_scriptlets %ldconfig_scriptlets
@ -84,6 +85,10 @@ make check
%endif %endif
%changelog %changelog
* Wed Jun 23 2021 Panu Matilainen <pmatilai@redhat.com> - 1.18-5
- Fix test-suite expectation on rawhide
- Dump test-suite logs for post-mortem on failure
* Sat Mar 06 2021 Robert Scheck <robert@fedoraproject.org> 1.18-4 * Sat Mar 06 2021 Robert Scheck <robert@fedoraproject.org> 1.18-4
- Conditionalize static subpackage during build-time - Conditionalize static subpackage during build-time