make/make.spec
Andreas Schwab 11a1c2639e Accepting request 1067929 from home:Andreas_Schwab:Factory
- Update to make 4.4.1
  * WARNING: Backward-incompatibility!
    In previous releases it was not well-defined when updates to MAKEFLAGS made
    inside a makefile would be visible.  This release ensures they are visible
    immediately, even when invoking $(shell ...) functions.
  * New feature: Parallel builds of archives
    Previously it was not possible to use parallel builds with archives.  It is
    still not possible using the built-in rules, however you can now override
    the built-in rules with a slightly different set of rules and use parallel
    builds with archive creation.
  * Previously target-specific variables would inherit their "export" capability
    from parent target-specific variables even if they were marked private.  Now
    private parent target-specific variables have no affect.
- sigpipe-fatal.patch: removed

OBS-URL: https://build.opensuse.org/request/show/1067929
OBS-URL: https://build.opensuse.org/package/show/Base:System/make?expand=0&rev=83
2023-02-27 10:11:20 +00:00

83 lines
2.2 KiB
RPMSpec

#
# spec file for package make
#
# Copyright (c) 2023 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.4.1
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
Patch64: make-library-search-path.diff
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
if [ %{_lib} = lib64 ]; then
%patch64 -p1
fi
%build
%configure
%make_build
%check
%make_build 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