Accepting request 855597 from home:AndreasStieger:branches:devel:tools:building
autoconf 2.70 OBS-URL: https://build.opensuse.org/request/show/855597 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/autoconf?expand=0&rev=46
This commit is contained in:
committed by
Git OBS Bridge
parent
fd9e6494df
commit
8c1e8530e6
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package autoconf
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,30 +17,24 @@
|
||||
|
||||
|
||||
Name: autoconf
|
||||
Version: 2.69
|
||||
Version: 2.70
|
||||
Release: 0
|
||||
Summary: A GNU Tool for Automatically Configuring Source Code
|
||||
License: GPL-3.0-or-later
|
||||
Url: http://www.gnu.org/software/autoconf
|
||||
Source0: http://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.gz
|
||||
Source1: http://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.gz.sig
|
||||
URL: https://www.gnu.org/software/autoconf
|
||||
Source0: http://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.xz
|
||||
Source1: http://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.xz.sig
|
||||
Source2: %{name}.keyring
|
||||
Patch0: autoreconf-ltdl.diff
|
||||
# PATCH-FIX-UPSTREAM autoconf-perl-5.17-fixes.patch dimstar@opensuse.org -- autoscan: port to perl 5.17 (with perl 5.22, it is now fatal).
|
||||
Patch1: autoconf-perl-5.17-fixes.patch
|
||||
# PATCH-FIX-UPSTREAM AC_HEADER_MAJOR: port to glibc 2.25
|
||||
Patch2: ac-header-major.patch
|
||||
# PATCH-FIX-UPSTREAM Port tests to Bash 5
|
||||
Patch3: port-tests-to-bash-5.patch
|
||||
BuildRequires: help2man
|
||||
BuildRequires: m4 >= 1.4.6
|
||||
Requires: info
|
||||
Requires: m4 >= 1.4.6
|
||||
Requires: perl-base >= 5.6
|
||||
Requires(post): %{install_info_prereq}
|
||||
Requires(preun): %{install_info_prereq}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%if "%{name}" == "autoconf-testsuite"
|
||||
BuildRequires: gcc-c++
|
||||
%endif
|
||||
|
||||
%description
|
||||
GNU Autoconf is a tool for configuring source code and makefiles. Using
|
||||
@@ -58,43 +52,30 @@ only required for the generation of the scripts, not their use.
|
||||
%prep
|
||||
%setup -q -n autoconf-%{version}
|
||||
%patch0
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%if "%{name}" == "autoconf-testsuite"
|
||||
%check
|
||||
trap 'test $? -ne 0 && cat tests/testsuite.log' EXIT
|
||||
make %{?_smp_mflags} check
|
||||
%make_build check
|
||||
|
||||
%install
|
||||
%else
|
||||
%install
|
||||
%{?make_install} %{!?make_install:make install DESTDIR=%{buildroot}}
|
||||
rm -f %{buildroot}%{_datadir}/emacs/site-lisp/*.el*
|
||||
# info's dir file is not auto ignored on some systems
|
||||
rm -rf %{buildroot}%{_infodir}/dir
|
||||
%make_install
|
||||
%endif
|
||||
|
||||
%post
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/autoconf.info.gz
|
||||
|
||||
%preun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/autoconf.info.gz
|
||||
|
||||
%if "%{name}" == "autoconf"
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS NEWS README TODO
|
||||
%license COPYING
|
||||
%{_bindir}/*
|
||||
%{_datadir}/autoconf
|
||||
%doc %{_infodir}/*.gz
|
||||
%doc %{_mandir}/man1/*.gz
|
||||
%{_infodir}/*.gz
|
||||
%{_mandir}/man1/*.gz
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user