When upgrading from rhel 9 to rhel 10, there may not be a make-latest
package available. We therefore make the make package a provider for
make-latest and the versioned make package. That way, if make-latest
was installed but isn't available in the next release, make gets
installed instead, until a dedicated version of make-latest gets
provided.
This solution isn't ideal as make-latest is installed on an
alternative path, but it covers the case when the user as set its PATH
to add /opt/rhel/makeNNN.
Resolves: RHEL-33540
See https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_2
As per guidance, files which are not used by the build and not
included in the binary RPM were not includes in the new license.
That excluded a lot of sources in lib/, which are used for
portability but are not needed for modern glibc-based systems.
Note the m4/ sources are FSFULLR and pulled in via the configure
process and config.h.in. While this is very indirect we include the
m4/ files as "sources" for the purposes of the license, to be
conservative.
This change allows you to use one common spec file for two purposes:
1. If the name is set to "make" you get the same make-X.Y packages
as before.
2. If the name is set to "make-latest" you get a make-latest
meta-package and a makeXY subpackage on which it depends. The
subpackage installs in /opt (or elsewhere) to avoid conflict with an
installed make-X.Y. In this case, the user should edit:
%global make make43 <-- to match the version being installed
%global _prefix /opt/rh/%{make} <-- to where you want it
Rewrite filter/filter-out to avoid large stack usage.
Require perl core modules for testsuite
Resolves: #2010506
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
None of currently supported distributions need that.
It was needed last for EL5 which is EOL now
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
With glibc 2.27:
glob/libglob.a(glob.o): In function `glob_in_dir':
/home/rjones/d/fedora/make/master/make-4.2.1/glob/glob.c:1367: undefined reference to `__alloca'
/home/rjones/d/fedora/make/master/make-4.2.1/glob/glob.c:1342: undefined reference to `__alloca'
/home/rjones/d/fedora/make/master/make-4.2.1/glob/glob.c:1283: undefined reference to `__alloca'
/home/rjones/d/fedora/make/master/make-4.2.1/glob/glob.c:1256: undefined reference to `__alloca'
glob/libglob.a(glob.o): In function `glob':
/home/rjones/d/fedora/make/master/make-4.2.1/glob/glob.c:581: undefined reference to `__alloca'
glob/libglob.a(glob.o):/home/rjones/d/fedora/make/master/make-4.2.1/glob/glob.c:732: more undefined references to `__alloca' follow
collect2: error: ld returned 1 exit status
This is fixed upstream by:
http://git.savannah.gnu.org/cgit/make.git/patch/?id=48c8a116a914a325a0497721f5d8b58d5bba34d4
Note that the additional BuildRequires: autoconf, automake can be
removed after this patch is available in an upstream tarball.