spec: no autoreconf with '--without check'
Version: 1.15-10
This commit is contained in:
parent
226b183a5f
commit
fec4347f95
|
@ -1,5 +1,8 @@
|
||||||
%global api_version 1.15
|
%global api_version 1.15
|
||||||
|
|
||||||
|
# run "make check" by default
|
||||||
|
%bcond_without check
|
||||||
|
|
||||||
# remove once %%configure is used instead of ./configure
|
# remove once %%configure is used instead of ./configure
|
||||||
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
||||||
|
|
||||||
|
@ -17,9 +20,13 @@ Source2: http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||||
Source3: http://git.savannah.gnu.org/cgit/config.git/plain/config.guess
|
Source3: http://git.savannah.gnu.org/cgit/config.git/plain/config.guess
|
||||||
|
|
||||||
# Keep those patches in 'git format-patch' format (with docs).
|
# Keep those patches in 'git format-patch' format (with docs).
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with check}
|
||||||
Patch0: automake-1.15-disable-vala-tests.patch
|
Patch0: automake-1.15-disable-vala-tests.patch
|
||||||
Patch1: automake-1.15-perl-escape-curly-bracket.patch
|
Patch1: automake-1.15-dejagnu-testcase.patch
|
||||||
Patch2: automake-1.15-dejagnu-testcase.patch
|
%endif
|
||||||
|
Patch2: automake-1.15-perl-escape-curly-bracket.patch
|
||||||
Patch3: automake-1.15-avoid-dist-GZIP-var.patch
|
Patch3: automake-1.15-avoid-dist-GZIP-var.patch
|
||||||
|
|
||||||
URL: http://www.gnu.org/software/automake/
|
URL: http://www.gnu.org/software/automake/
|
||||||
|
@ -35,9 +42,6 @@ Requires(post): /sbin/install-info
|
||||||
Requires(preun): /sbin/install-info
|
Requires(preun): /sbin/install-info
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
# run "make check" by default
|
|
||||||
%bcond_without check
|
|
||||||
|
|
||||||
# for better tests coverage:
|
# for better tests coverage:
|
||||||
%if %{with check}
|
%if %{with check}
|
||||||
BuildRequires: libtool gettext-devel flex bison texinfo-tex texlive-dvips
|
BuildRequires: libtool gettext-devel flex bison texinfo-tex texlive-dvips
|
||||||
|
@ -71,7 +75,9 @@ Makefiles.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
%if %{with check}
|
||||||
autoreconf -iv
|
autoreconf -iv
|
||||||
|
%endif
|
||||||
|
|
||||||
file=`find -name config.sub | head -1`
|
file=`find -name config.sub | head -1`
|
||||||
cp %{SOURCE2} $file
|
cp %{SOURCE2} $file
|
||||||
|
@ -119,8 +125,9 @@ fi
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Mar 28 2017 Pavel Raiskup <praiskup@redhat.com> - 1.15-10
|
* Wed Mar 29 2017 Pavel Raiskup <praiskup@redhat.com> - 1.15-10
|
||||||
- update config.{guess,sub} to gnuconfig git HEAD
|
- update config.{guess,sub} to gnuconfig git HEAD
|
||||||
|
- avoid autoreconf with disabled testsuite
|
||||||
|
|
||||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-9
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-9
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
Loading…
Reference in New Issue