some smaller fixes

OBS-URL: https://build.opensuse.org/package/show/server:mail/postfix?expand=0&rev=262
This commit is contained in:
Dr. Werner Fink 2017-04-13 09:23:37 +00:00 committed by Git OBS Bridge
parent 3899726842
commit 0f9fd20b85
4 changed files with 27 additions and 5 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:8b90aff157bda4dd3110d884bdab8d8fdf3541c6aaeb73030e5c80c3aa86241f oid sha256:c40249cc9d278e1068b45c5e768ee64dccb2886818cfc2a296c1a7e76597a220
size 27921 size 27289

View File

@ -1,6 +1,10 @@
--- makedefs.orig 2017-03-16 12:08:55.536876205 +0100 ---
+++ makedefs 2017-03-16 12:09:14.337057377 +0100 makedefs | 2 +-
@@ -523,7 +523,7 @@ 1 file changed, 1 insertion(+), 1 deletion(-)
--- makedefs
+++ makedefs 2017-04-13 08:33:01.425823067 +0000
@@ -543,7 +543,7 @@ EOF
: ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"} : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
: ${PLUGIN_LD="${CC-gcc} -shared"} : ${PLUGIN_LD="${CC-gcc} -shared"}
;; ;;

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Apr 13 09:18:45 UTC 2017 - werner@suse.de
- Some cleanups
* Fix SUSE postfix-files to avoud chown error (anyway this file
seems to be obsolete)
* Avoid installing shared libraries twice
* Refresh patch postfix-linux45.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Apr 8 15:06:14 UTC 2017 - chris@computersalat.de Sat Apr 8 15:06:14 UTC 2017 - chris@computersalat.de

View File

@ -83,6 +83,7 @@ Patch8: %{name}-vda-v14-3.0.3.patch
BuildRequires: ca-certificates BuildRequires: ca-certificates
BuildRequires: cyrus-sasl-devel BuildRequires: cyrus-sasl-devel
BuildRequires: db-devel BuildRequires: db-devel
BuildRequires: diffutils
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
%if %{with lmdb} %if %{with lmdb}
BuildRequires: lmdb-devel BuildRequires: lmdb-devel
@ -387,6 +388,14 @@ ln -s -f %{_initddir}/%{name} %{buildroot}%{_sbindir}/rc%{name}
%fdupes %{buildroot}%{pf_docdir} %fdupes %{buildroot}%{pf_docdir}
%fdupes %{buildroot}%{_mandir} %fdupes %{buildroot}%{_mandir}
%endif %endif
for path in %{buildroot}%{_libexecdir}/%{name}/libpostfix-*.so
do
test -e "$path" || continue
name=${path##*/}
cmp "$path" %{buildroot}%{_libdir}/$name || continue
rm -vf $path
ln -sf %{_libdir}/$name $path
done
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
install -m 755 %{SOURCE11} %{buildroot}%{_sbindir}/ install -m 755 %{SOURCE11} %{buildroot}%{_sbindir}/