New version
Resolves: rhbz#1245183 - Dropped linux4 patch (not needed) - Defuzzified alternatives patch
This commit is contained in:
parent
2b995841a8
commit
e2ce80082b
@ -1,19 +0,0 @@
|
||||
This patch allows the postfix build system to accept building on Linux 4.*
|
||||
|
||||
Even for Linux 4.x systems, it sets SYSTYPE variable to Linux3 because
|
||||
I am not sure if I'd have to change other part of the build system to
|
||||
make it cope with the new Linux 4.x. I guess I'll try in subsequent
|
||||
patch to set the SYSTYPE properly and see what breaks. For now, this
|
||||
seems to work.
|
||||
|
||||
--- postfix-3.0.1/makedefs 2015-04-26 19:07:31.924108509 +0200
|
||||
+++ postfix-3.0.1/makedefs.dodji 2015-04-26 19:06:22.678638335 +0200
|
||||
@@ -500,7 +500,7 @@
|
||||
: ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
|
||||
: ${PLUGIN_LD="${CC-gcc} -shared"}
|
||||
;;
|
||||
- Linux.3*) SYSTYPE=LINUX3
|
||||
+ Linux.3*|Linux.4*) SYSTYPE=LINUX3
|
||||
case "$CCARGS" in
|
||||
*-DNO_DB*) ;;
|
||||
*-DHAS_DB*) ;;
|
@ -1,8 +1,8 @@
|
||||
diff --git a/conf/post-install b/conf/post-install
|
||||
index b66b147..ba26035 100644
|
||||
index d5db260..71e18cf 100644
|
||||
--- a/conf/post-install
|
||||
+++ b/conf/post-install
|
||||
@@ -526,6 +526,17 @@ test -n "$create" && {
|
||||
@@ -530,6 +530,17 @@ test -n "$create" && {
|
||||
case $path in
|
||||
no|no/*) continue;;
|
||||
esac
|
19
postfix.spec
19
postfix.spec
@ -41,8 +41,8 @@
|
||||
|
||||
Name: postfix
|
||||
Summary: Postfix Mail Transport Agent
|
||||
Version: 3.0.1
|
||||
Release: 3%{?dist}
|
||||
Version: 3.0.2
|
||||
Release: 1%{?dist}
|
||||
Epoch: 2
|
||||
Group: System Environment/Daemons
|
||||
URL: http://www.postfix.org
|
||||
@ -83,13 +83,11 @@ Source101: postfix-pam.conf
|
||||
|
||||
Patch1: postfix-3.0.0-config.patch
|
||||
Patch2: postfix-3.0.0-files.patch
|
||||
Patch3: postfix-3.0.0-alternatives.patch
|
||||
Patch3: postfix-3.0.2-alternatives.patch
|
||||
Patch4: postfix-3.0.0-large-fs.patch
|
||||
# The patch below make the package compile on Linux 4.xx
|
||||
Patch5: postfix-3.0.1-linux4.patch
|
||||
# The patch below resets the global errno variable to 0 before calling
|
||||
# readdir(). This seems to fix bug rhbz#1204139
|
||||
Patch6: postfix-3.0.1-reset-errno-before-readdir.patch
|
||||
Patch5: postfix-3.0.1-reset-errno-before-readdir.patch
|
||||
Patch9: pflogsumm-1.1.3-datecalc.patch
|
||||
|
||||
# Optional patches - set the appropriate environment variables to include
|
||||
@ -214,8 +212,7 @@ maps with Postfix, you need this.
|
||||
%patch2 -p1 -b .files
|
||||
%patch3 -p1 -b .alternatives
|
||||
%patch4 -p1 -b .large-fs
|
||||
%patch5 -p1 -b .linux4
|
||||
%patch6 -p1 -b .reset-errno-before-readdir
|
||||
%patch5 -p1 -b .reset-errno-before-readdir
|
||||
|
||||
# Change DEF_SHLIB_DIR according to build host
|
||||
sed -i \
|
||||
@ -735,6 +732,12 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Jul 22 2015 Jaroslav Škarvada <jskarvad@redhat.com> - 2:3.0.2-1
|
||||
- New version
|
||||
Resolves: rhbz#1245183
|
||||
- Dropped linux4 patch (not needed)
|
||||
- Defuzzified alternatives patch
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:3.0.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user