Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
f7e27f7959
!31 [sync] PR-28: Obsolete useless devel package
From: @openeuler-sync-bot 
Reviewed-by: @shenyangyang01 
Signed-off-by: @shenyangyang01
2025-01-26 09:20:00 +00:00
fly_fzc
4629748fd5 Obsolete useless devel package
(cherry picked from commit 2ce5737fe1c3ed38e50cd33caf4c91b08f3d0f38)
2025-01-26 16:08:04 +08:00
openeuler-ci-bot
868a6e7617
!26 update version to 4.4.1
From: @fly_fzc 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2023-07-17 07:44:02 +00:00
fly_fzc
82fd28d30c update version to 4.4.1 2023-07-17 15:10:15 +08:00
openeuler-ci-bot
d5215393bb
!25 Continue build when test-case(features/output-sync) failed and Handle SIGPIPE as a fatal signal
From: @fly_fzc 
Reviewed-by: @overweight 
Signed-off-by: @overweight
2023-01-11 06:15:30 +00:00
fly_fzc
b8bac1a1ba Continue build when test-case(features/output-sync) failed and Handle SIGPIPE as a fatal signal 2023-01-11 12:10:56 +08:00
openeuler-ci-bot
bd65bd0f04
!24 update version to 4.4
From: @fly_fzc 
Reviewed-by: @overweight 
Signed-off-by: @overweight
2022-11-11 03:40:54 +00:00
fly_fzc
58faa13e5f update version to 4.4 2022-11-11 11:20:25 +08:00
openeuler-ci-bot
37073fee47
!10 Fix spelling in spec
From: @fly_fzc 
Reviewed-by: @overweight 
Signed-off-by: @overweight
2022-10-20 02:03:40 +00:00
fly_fzc
1395341e0e Fix spelling in spec 2022-10-19 19:15:36 +08:00
5 changed files with 28 additions and 59 deletions

View File

@ -1,25 +0,0 @@
diff -Nrup a/src/main.c b/src/main.c
--- a/src/main.c 2016-05-31 03:17:26.000000000 -0400
+++ b/src/main.c 2016-09-22 16:18:52.283889265 -0400
@@ -2051,6 +2051,21 @@ main (int argc, char **argv, char **envp
}
#endif
+#ifdef PIPE_BUF
+ if (job_slots > PIPE_BUF)
+#elif defined _POSIX_PIPE_BUF
+ if (job_slots > _POSIX_PIPE_BUF)
+#else
+ if (job_slots > 512)
+#endif
+ {
+ O (error, NILF,
+ _("More parallel jobs (-jN) than this platform can handle requested."));
+ O (error, NILF, _("Resetting to single job (-j1) mode."));
+ job_slots = 1;
+ }
+
+
/* If we have >1 slot at this point, then we're a top-level make.
Set up the jobserver.

View File

@ -1,16 +0,0 @@
diff -up make-4.3/src/job.c\~ make-4.3/src/job.c
--- make-3.82/src/job.c~ 2010-08-11 16:13:33.000000000 +0200
+++ make-3.82/src/job.c 2010-08-12 14:20:08.000000000 +0200
@@ -2442,7 +2442,11 @@ construct_command_argv_internal (char *l
/* See if it is safe to parse commands internally. */
if (shell == 0)
- shell = default_shell;
+ {
+ shell = default_shell;
+ if (shellflags == 0)
+ shellflags = "-c";
+ }
#ifdef WINDOWS32
else if (strcmp (shell, default_shell))
{

Binary file not shown.

BIN
make-4.4.1.tar.gz Normal file

Binary file not shown.

View File

@ -1,19 +1,18 @@
Name: make
Epoch: 1
Version: 4.3
Release: 2
Version: 4.4.1
Release: 2
Summary: A tool which controls the generation of executables and non-source files of a program
License: GPLv3+
URL: http://www.gnu.org/software/make/
Source0: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
Patch0: make-4.3-weird-shell.patch
Patch1: make-4.3-j8k.patch
BuildRequires: gcc git autoconf automake procps
BuildRequires: guile-devel perl-interpreter make
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
Provides: %{name}-devel = %{epoch}:%{version}-%{release}
Obsoletes: %{name}-devel < %{epoch}:%{version}-%{release}
%description
GNU Make is a tool which controls the generation of executables and other
@ -24,14 +23,6 @@ the makefile, which lists each of the non-source files and how to compute
it from other files. When you write a program, you should write a makefile
for it, so that it is possible to use Make to build and install the program.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{epoch}:%{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package_help
%prep
@ -49,7 +40,7 @@ ln -sf make %{buildroot}/%{_bindir}/gmake
ln -sf make.1 %{buildroot}/%{_mandir}/man1/gmake.1
rm -f %{buildroot}/%{_infodir}/dir
%find_lang %name
%find_lang %{name}
%check
# check will fail if running the test with -j2
@ -57,7 +48,13 @@ rm -f %{buildroot}/%{_infodir}/dir
if [ "%{_smp_mflags}" = "-j2" ]; then
echo "test will fail with make -j2 check"
else
/usr/bin/env LANG=C make check
/usr/bin/env LANG=C make check || {
for f in tests/work/*/*.diff; do
test -f "$f" || continue
printf "++++++++++++++ %s ++++++++++++++\n" "${f##*/}"
cat "$f"
done
}
fi
%post
@ -78,15 +75,28 @@ fi
%{_bindir}/*
%{_includedir}/*
%files devel
%{_includedir}/*
%files help
%doc NEWS
%{_mandir}/*/*
%{_infodir}/*
%changelog
* Sun Jan 26 2025 fuanan <fuanan3@h-partners.com> - 1:4.4.1-2
- Obsolete useless devel package
* Mon Jul 17 2023 fuanan <fuanan3@h-partners.com> - 1:4.4.1-1
- update version to 4.4.1
* Wed Jan 11 2023 fuanan <fuanan3@h-partners.com> - 1:4.4-2
- Continue build when test-case(features/output-sync) failed
- Handle SIGPIPE as a fatal signal
* Wed Nov 09 2022 fuanan <fuanan3@h-partners.com> - 1:4.4-1
- update version to 4.4
* Wed Oct 19 2022 fuanan <fuanan3@h-partners.com> - 1:4.3-3
- Fix spelling in spec
* Tue Sep 8 2020 wangchen <wangchen137@huawei.com> - 1:4.3-2
- Modify the URL of Source0