Hello community,

here is the log from the commit of package stunnel for openSUSE:Factory checked 
in at 2018-02-07 18:42:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/stunnel (Old)
 and      /work/SRC/openSUSE:Factory/.stunnel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "stunnel"

Wed Feb  7 18:42:12 2018 rev:12 rq:573623 version:5.44

Changes:
--------
--- /work/SRC/openSUSE:Factory/stunnel/stunnel.changes  2018-02-06 
16:50:04.273493499 +0100
+++ /work/SRC/openSUSE:Factory/.stunnel.new/stunnel.changes     2018-02-07 
18:42:23.509433948 +0100
@@ -1,0 +2,5 @@
+Tue Feb  6 13:51:49 UTC 2018 - vet...@physik.uni-wuerzburg.de
+
+- Revamp SLE11 builds
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ stunnel.spec ++++++
--- /var/tmp/diff_new_pack.XzDrlW/_old  2018-02-07 18:42:24.437390498 +0100
+++ /var/tmp/diff_new_pack.XzDrlW/_new  2018-02-07 18:42:24.441390311 +0100
@@ -16,14 +16,23 @@
 #
 
 
-%define VENDOR openSUSE
+%define VENDORAFFIX openSUSE
+
 %if 0%{?suse_version} >= 1210
+
 %define has_systemd 1
 BuildRequires:  systemd
 %{?systemd_requires}
+
 %else
-PreReq:         %insserv_prereq
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Requires(pre):  %insserv_prereq
+Requires(pre):  /usr/sbin/useradd
+# %{_sbindir} does not work here!
+
 %endif
+
 #Compat macro for new _fillupdir macro introduced in Nov 2017
 %if ! %{defined _fillupdir}
   %define _fillupdir %{_localstatedir}/adm/fillup-templates
@@ -45,14 +54,12 @@
 Source7:        stunnel.README
 Patch0:         stunnel-listenqueue-option.patch
 BuildRequires:  libopenssl-devel
-BuildRequires:  pkgconfig
 BuildRequires:  tcpd-devel
 BuildRequires:  zlib-devel
-BuildRequires:  pkgconfig(libsystemd)
-PreReq:         %fillup_prereq
-PreReq:         %{_sbindir}/useradd
-PreReq:         fileutils
-PreReq:         textutils
+Requires(pre):         %fillup_prereq
+Requires(pre):         %{_sbindir}/useradd
+Requires(pre):         fileutils
+Requires(pre):         textutils
 %if 0%{?suse_version} >= 1500
 Requires(pre):  group(nogroup)
 %endif
@@ -97,10 +104,14 @@
 make %{?_smp_mflags} check
 
 %install
-%make_install
+%if 0%{?suse_version} >= 1210
+  %make_install
+%else
+  make install DESTDIR=$RPM_BUILD_ROOT
+%endif
 
-cp -p %{SOURCE1} tools/stunnel.conf-sample.%{VENDOR}
-cp -p %{SOURCE2} README.%{VENDOR}
+cp -p %{SOURCE1} tools/stunnel.conf-sample.%{VENDORAFFIX}
+cp -p %{SOURCE2} README.%{VENDORAFFIX}
 mkdir -p %{buildroot}%{_fillupdir}
 cp -p %{SOURCE3} %{buildroot}%{_fillupdir}/
 %if 0%{?has_systemd}
@@ -143,7 +154,7 @@
 fi
 # first installation?
 if [ ${FIRST_ARG:-0} = 1 ] && [ ! -f etc/stunnel/stunnel.pem ]; then
-        cat usr/share/doc/packages/stunnel/README.%{VENDOR}
+        cat usr/share/doc/packages/stunnel/README.%{VENDORAFFIX}
 fi
 
 %preun
@@ -162,8 +173,9 @@
 %endif
 
 %files
+%defattr(-,root,root)
 %doc COPYING COPYRIGHT.GPL CREDITS
-%doc README.%{VENDOR}
+%doc README.%{VENDORAFFIX}
 %doc tools/ca.*
 %doc tools/importCA.*
 %doc tools/stunnel.conf-sample
@@ -187,6 +199,7 @@
 %endif
 
 %files doc
+%defattr(-,root,root)
 %doc AUTHORS BUGS COPYING COPYRIGHT.GPL CREDITS ChangeLog NEWS PORTS
 %doc README TODO
 %doc doc/stunnel.html




Reply via email to