|
|
@ -1,33 +1,13 @@
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# This decides the SRPM name. Set to "make" for a rolling release
|
|
|
|
Summary: A GNU tool which simplifies the build process for users
|
|
|
|
# (like Fedora) or "make-latest" for a long term release that needs
|
|
|
|
|
|
|
|
# optional versioned updates.
|
|
|
|
|
|
|
|
Name: make
|
|
|
|
Name: make
|
|
|
|
Epoch: 1
|
|
|
|
Epoch: 1
|
|
|
|
Version: 4.4.1
|
|
|
|
Version: 4.3
|
|
|
|
Release: 9%{?dist}
|
|
|
|
Release: 7%{?dist}
|
|
|
|
License: GPL-3.0-or-later AND LGPL-2.1-or-later AND GFDL-1.3-or-later AND FSFULLR
|
|
|
|
License: GPLv3+
|
|
|
|
URL: http://www.gnu.org/software/make/
|
|
|
|
URL: http://www.gnu.org/software/make/
|
|
|
|
Source: ftp://ftp.gnu.org/gnu/make/make-%{version}.tar.gz
|
|
|
|
Source: ftp://ftp.gnu.org/gnu/make/make-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
%if "%{name}" != "make"
|
|
|
|
|
|
|
|
# Set this to the sub-package base name, for "make-latest"
|
|
|
|
|
|
|
|
%global make %(echo make%{version} | tr -d .)
|
|
|
|
|
|
|
|
%if 0%{?rhel} > 0
|
|
|
|
|
|
|
|
%global _prefix /opt/rh/%{make}
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
# We intentionally do not define a case for Fedora, as it should not
|
|
|
|
|
|
|
|
# need this functionality, and letting it error avoids accidents.
|
|
|
|
|
|
|
|
%{error:"Each downstream must specify its own /opt namespace"}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
Summary: Meta package to include latest version of make
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%global make %{name}
|
|
|
|
|
|
|
|
Summary: A GNU tool which simplifies the build process for users
|
|
|
|
|
|
|
|
Provides: make-latest = %{version}-%{release}
|
|
|
|
|
|
|
|
Provides: %(echo make%{version} | tr -d .) = %{version}-%{release}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} > 0
|
|
|
|
%if 0%{?rhel} > 0
|
|
|
|
# This gives the user the option of saying --with guile, but defaults to WITHOUT
|
|
|
|
# This gives the user the option of saying --with guile, but defaults to WITHOUT
|
|
|
|
%bcond_with guile
|
|
|
|
%bcond_with guile
|
|
|
@ -46,28 +26,22 @@ Patch1: make-4.0-noclock_gettime.patch
|
|
|
|
# BZs #142691, #17374
|
|
|
|
# BZs #142691, #17374
|
|
|
|
Patch2: make-4.3-j8k.patch
|
|
|
|
Patch2: make-4.3-j8k.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1827850
|
|
|
|
|
|
|
|
# https://savannah.gnu.org/bugs/?58232
|
|
|
|
|
|
|
|
# Remove on next make rebase
|
|
|
|
|
|
|
|
Patch3: make-4.3-cloexec.patch
|
|
|
|
|
|
|
|
|
|
|
|
# autoreconf
|
|
|
|
# autoreconf
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: autoconf, automake, gettext-devel
|
|
|
|
BuildRequires: autoconf, automake, gettext-devel
|
|
|
|
BuildRequires: procps
|
|
|
|
BuildRequires: procps
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
%if %{with guile}
|
|
|
|
%if %{with guile}
|
|
|
|
BuildRequires: pkgconfig(guile-3.0)
|
|
|
|
BuildRequires: pkgconfig(guile-2.2)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
|
|
|
|
|
|
|
%if "%{name}" != "make"
|
|
|
|
%description
|
|
|
|
# We're still on the make-latest package
|
|
|
|
|
|
|
|
Requires: %{make}
|
|
|
|
|
|
|
|
%description -n make-latest
|
|
|
|
|
|
|
|
The latest GNU Make, with a version-specific install
|
|
|
|
|
|
|
|
%files -n make-latest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{make}
|
|
|
|
|
|
|
|
Summary: A GNU tool which simplifies the build process for users
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{make}
|
|
|
|
|
|
|
|
A GNU tool for controlling the generation of executables and other
|
|
|
|
A GNU tool for controlling the generation of executables and other
|
|
|
|
non-source files of a program from the program's source files. Make
|
|
|
|
non-source files of a program from the program's source files. Make
|
|
|
|
allows users to build and install packages without any significant
|
|
|
|
allows users to build and install packages without any significant
|
|
|
@ -75,14 +49,14 @@ knowledge about the details of the build process. The details about
|
|
|
|
how the program should be built are provided for make in the program's
|
|
|
|
how the program should be built are provided for make in the program's
|
|
|
|
makefile.
|
|
|
|
makefile.
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{make}-devel
|
|
|
|
%package devel
|
|
|
|
Summary: Header file for externally visible definitions
|
|
|
|
Summary: Header file for externally visible definitions
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{make}-devel
|
|
|
|
%description devel
|
|
|
|
The %{make}-devel package contains gnumake.h.
|
|
|
|
The make-devel package contains gnumake.h.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n make-%{version} -p1
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
|
|
rm -f tests/scripts/features/parallelism.orig
|
|
|
|
rm -f tests/scripts/features/parallelism.orig
|
|
|
|
|
|
|
|
|
|
|
@ -104,94 +78,31 @@ ln -sf make ${RPM_BUILD_ROOT}/%{_bindir}/gmake
|
|
|
|
ln -sf make.1 ${RPM_BUILD_ROOT}/%{_mandir}/man1/gmake.1
|
|
|
|
ln -sf make.1 ${RPM_BUILD_ROOT}/%{_mandir}/man1/gmake.1
|
|
|
|
rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir
|
|
|
|
rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir
|
|
|
|
|
|
|
|
|
|
|
|
%if "%{name}" != "make"
|
|
|
|
%find_lang %name
|
|
|
|
install -d -m 755 ${RPM_BUILD_ROOT}/etc/scl/prefixes
|
|
|
|
|
|
|
|
dirname %{_prefix} > %{make}.prefix
|
|
|
|
|
|
|
|
install -p -m 644 %{make}.prefix ${RPM_BUILD_ROOT}/etc/scl/prefixes/%{make}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo "export PATH=%{_prefix}/bin:\$PATH" > enable.scl
|
|
|
|
|
|
|
|
install -p -m 755 enable.scl ${RPM_BUILD_ROOT}/%{_prefix}/enable
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%find_lang make
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
echo ============TESTING===============
|
|
|
|
echo ============TESTING===============
|
|
|
|
/usr/bin/env LANG=C make check && true
|
|
|
|
/usr/bin/env LANG=C make check && true
|
|
|
|
echo ============END TESTING===========
|
|
|
|
echo ============END TESTING===========
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{make} -f make.lang
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%license COPYING
|
|
|
|
%license COPYING
|
|
|
|
%doc NEWS README AUTHORS
|
|
|
|
%doc NEWS README AUTHORS
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_mandir}/man*/*
|
|
|
|
%{_mandir}/man*/*
|
|
|
|
%{_infodir}/*.info*
|
|
|
|
%{_infodir}/*.info*
|
|
|
|
%{_includedir}/gnumake.h
|
|
|
|
%{_includedir}/gnumake.h
|
|
|
|
%if "%{name}" != "make"
|
|
|
|
|
|
|
|
/etc/scl/prefixes/%{make}
|
|
|
|
|
|
|
|
%{_prefix}/enable
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{make}-devel
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/gnumake.h
|
|
|
|
%{_includedir}/gnumake.h
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Nov 5 2024 DJ Delorie <dj@redhat.com> - 1:4.4.1-9
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:4.3-7
|
|
|
|
- Ensure that we can upgrade from make-latest to make (RHEL-33540)
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1:4.4.1-8
|
|
|
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1:4.4.1-7
|
|
|
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.4.1-6
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.4.1-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Nov 01 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 1:4.4.1-4
|
|
|
|
|
|
|
|
- Use guile-3.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 DJ Delorie <dj@redhat.com> - 1:4.4.1-3
|
|
|
|
|
|
|
|
- Migrate License field to SPDX identifiers for
|
|
|
|
|
|
|
|
https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.4.1-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Mar 31 2023 DJ Delorie <dj@redhat.com> - 1:4.4.1-1
|
|
|
|
|
|
|
|
- Rebase to make 4.4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 30 2023 DJ Delorie <dj@redhat.com> - 1:4.4-3
|
|
|
|
|
|
|
|
- Handle SIGPIPE as a fatal signal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.4-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Nov 1 2022 DJ Delorie <dj@redhat.com> - 1:4.4-1
|
|
|
|
|
|
|
|
- Rebase to make 4.4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.3-11
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 14 2022 DJ Delorie <dj@redhat.com> - 1:4.3-10
|
|
|
|
|
|
|
|
- Add SCL compatibility to LTS builds.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 29 2022 DJ Delorie <dj@redhat.com> - 1:4.3-9
|
|
|
|
|
|
|
|
- Enable long-term supported builds.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 8 2022 DJ Delorie <dj@redhat.com> - 1:4.3-8
|
|
|
|
|
|
|
|
- Rewrite filter/filter-out to avoid large stack usage. BZ #2010506
|
|
|
|
|
|
|
|
- Require perl core modules for testsuite
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.3-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:4.3-6
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:4.3-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 19 2021 DJ Delorie <dj@redhat.com> - 1:4.3-5
|
|
|
|
* Fri Feb 19 2021 DJ Delorie <dj@redhat.com> - 1:4.3-5
|
|
|
|
- Allow users to build with or without guile support as desired.
|
|
|
|
- Allow users to build with or without guile support as desired.
|
|
|
|