Andreas Schwab
d9ed328203
* WARNING: Backward-incompatibility! Previously if --no-print-directory was seen anywhere in the environment or command line it would take precedence over any --print-directory. Now, the last setting of directory printing options seen will be used, so a command line such as "--no-print-directory -w" _will_ show directory entry/exits. * WARNING: Backward-incompatibility! Previously the order in which makefiles were remade was not explicitly stated, but it was (roughly) the inverse of the order in which they were processed by make. In this release, the order in which makefiles are rebuilt is the same order in which make processed them, and this is defined to be true in the GNU make manual. * WARNING: Backward-incompatibility! Previously only simple (one-letter) options were added to the MAKEFLAGS variable that was visible while parsing makefiles. Now, all options are available in MAKEFLAGS. If you want to check MAKEFLAGS for a one-letter option, expanding "$(firstword -$(MAKEFLAGS))" is a reliable way to return the set of one-letter options which can be examined via findstring, etc. * WARNING: Backward-incompatibility! Previously makefile variables marked as export were not exported to commands started by the $(shell ...) function. Now, all exported variables are exported to $(shell ...). If this leads to recursion during expansion, then for backward-compatibility the value from the original environment is used. To detect this change search for 'shell-export' in the .FEATURES variable. * WARNING: New build requirement GNU make utilizes facilities from GNU Gnulib: Gnulib requires certain C99 features in the C compiler and so these features are required by GNU make: https://www.gnu.org/software/gnulib/manual/html_node/C99-features-assumed.html The configure script should verify the compiler has these features. * New feature: The .WAIT special target OBS-URL: https://build.opensuse.org/package/show/Base:System/make?expand=0&rev=75
90 lines
2.4 KiB
RPMSpec
90 lines
2.4 KiB
RPMSpec
#
|
|
# spec file for package make
|
|
#
|
|
# Copyright (c) 2022 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.90
|
|
Release: 0
|
|
Summary: GNU make
|
|
License: GPL-2.0-or-later
|
|
Group: Development/Tools/Building
|
|
URL: https://www.gnu.org/software/make/make.html
|
|
Source: https://ftp.gnu.org/gnu/make/make-%{version}.tar.gz
|
|
Source1: https://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
|
|
Patch64: make-library-search-path.diff
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: makeinfo
|
|
BuildRequires: pkgconfig
|
|
Requires(post): %{install_info_prereq}
|
|
Requires(preun):%{install_info_prereq}
|
|
Provides: gmake
|
|
|
|
%description
|
|
The GNU make command with extensive documentation.
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch1 -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
|