make/make.spec
Andreas Schwab a23f321615 Accepting request 765762 from home:Andreas_Schwab:Factory
- Update to make 4.3
  * WARNING: Backward-incompatibility!
    Number signs (#) appearing inside a macro reference or function
    invocation no longer introduce comments and should not be escaped with
    backslashes
  * WARNING: Backward-incompatibility!
    Previously appending using '+=' to an empty variable would result in a
    value starting with a space
  * NOTE: Deprecated behavior.
    Contrary to the documentation, suffix rules with prerequisites are being
    treated BOTH as simple targets AND as pattern rules
  * New feature: Grouped explicit targets
  * New feature: .EXTRA_PREREQS variable
  * Makefiles can now specify the '-j' option in their MAKEFLAGS variable
    and this will cause make to enable that parallelism mode
  * Error messages printed when invoking non-existent commands have been
    cleaned up and made consistent.
  * A new option --no-silent has been added, that cancels the effect of
    the -s/--silent/--quiet flag
  * A new option -E has been added as a short alias for --eval
  * All wildcard expansion within GNU make, including $(wildcard ...),
    will sort the results
  * Performance improvements provided by Paolo Bonzini
    <pbonzini@redhat.com>
- make-sorted-glob.patch, glob-lstat.patch, glob-interface.patch,
  pselect-non-blocking.patch: Removed, upstreamed

OBS-URL: https://build.opensuse.org/request/show/765762
OBS-URL: https://build.opensuse.org/package/show/Base:System/make?expand=0&rev=65
2020-01-20 11:28:36 +00:00

92 lines
2.4 KiB
RPMSpec

#
# spec file for package make
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: make
Version: 4.3
Release: 0
Summary: GNU make
License: GPL-2.0-or-later
Group: Development/Tools/Building
URL: http://www.gnu.org/software/make/make.html
Source: http://ftp.gnu.org/gnu/make/make-%{version}.tar.gz
Source1: http://ftp.gnu.org/gnu/make/make-%{version}.tar.gz.sig
# keyring downloaded from https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=make&download=1
Source2: %{name}.keyring
Patch1: make-testcases_timeout.diff
Patch5: test-driver.patch
Patch64: make-library-search-path.diff
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: pkgconfig
Requires(post): %{install_info_prereq}
Requires(preun): %{install_info_prereq}
Recommends: %{name}-lang
Provides: gmake
%description
The GNU make command with extensive documentation.
%lang_package
%prep
%setup -q
%patch1 -p1
%patch5 -p1
if [ %{_lib} = lib64 ]; then
%patch64 -p1
fi
%build
autoreconf -fi
export CFLAGS="%{optflags}"
%configure
make %{?_smp_mflags}
%check
make %{?_smp_mflags} check || {
for f in tests/work/*/*.diff; do
test -f "$f" || continue
printf "++++++++++++++ %s ++++++++++++++\n" "${f##*/}"
cat "$f"
done
}
%install
%make_install
ln -s make %{buildroot}%{_bindir}/gmake
%find_lang %{name}
# gnumake.h was introduced in 4.0, looks useless
rm %{buildroot}%{_includedir}/gnumake.h
%files
%{_bindir}/make
%{_bindir}/gmake
%{_infodir}/make.info-*%{ext_info}
%{_infodir}/make.info%{ext_info}
%{_mandir}/man1/make.1%{ext_man}
%files lang -f %{name}.lang
%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
%preun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
%changelog