Hello community,

here is the log from the commit of package nginx-module-devel-kit for 
openSUSE:Factory checked in at 2018-07-25 16:11:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nginx-module-devel-kit (Old)
 and      /work/SRC/openSUSE:Factory/.nginx-module-devel-kit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nginx-module-devel-kit"

Wed Jul 25 16:11:19 2018 rev:2 rq:625076 version:0.3.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/nginx-module-devel-kit/nginx-module-devel-kit.changes
    2018-06-20 15:31:15.894276616 +0200
+++ 
/work/SRC/openSUSE:Factory/.nginx-module-devel-kit.new/nginx-module-devel-kit.changes
       2018-07-25 16:11:26.405725249 +0200
@@ -1,0 +2,11 @@
+Tue Jul 24 12:59:58 UTC 2018 - mroste...@suse.de
+
+- Build all NDK modules
+
+-------------------------------------------------------------------
+Mon Jul 23 21:41:16 UTC 2018 - mroste...@suse.de
+
+- Adjust configure parameters for binary compatibility with nginx
+  binary package
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ nginx-module-devel-kit.spec ++++++
--- /var/tmp/diff_new_pack.9P0cgj/_old  2018-07-25 16:11:28.013728426 +0200
+++ /var/tmp/diff_new_pack.9P0cgj/_new  2018-07-25 16:11:28.021728442 +0200
@@ -16,6 +16,18 @@
 #
 
 
+%if 0%{?suse_version} != 1315 || 0%{?is_opensuse}
+%bcond_without libatomic
+%else
+%bcond_with    libatomic
+%endif
+
+%if 0%{?suse_version} > 1220
+%bcond_without pcre_jit
+%else
+%bcond_with    pcre_jit
+%endif
+
 %define project_name ngx_devel_kit
 %define nginx_moduledir %{_libdir}/nginx/modules
 %define src_install_dir /usr/src/%{name}
@@ -30,6 +42,10 @@
 Source:         
https://github.com/simplresty/%{project_name}/archive/v%{version}.tar.gz#/%{project_name}-%{version}.tar.gz
 Source1:        nginx-module-devel-kit.rpmlintrc
 BuildRequires:  nginx-source
+BuildRequires:  pcre-devel
+%if %{with libatomic}
+BuildRequires:  libatomic-ops-devel
+%endif
 Requires:       nginx = %(rpm -q nginx-source | rev | cut -d. --complement -f1 
| cut -d"-" -f2 | rev)
 
 %description
@@ -65,10 +81,28 @@
 %build
 cd nginx
 ./configure                     \
-  --with-compat                 \
-  --without-http_rewrite_module \
+  --user=nginx --group=nginx                   \
+  --without-select_module                      \
+  --without-poll_module                        \
   --without-http_gzip_module    \
-  --add-dynamic-module=../%{project_name}
+  --with-threads                               \
+  --with-file-aio                              \
+  --with-ipv6                                  \
+  --with-pcre                                  \
+  %if %{with pcre_jit}
+  --with-pcre-jit                              \
+  %endif
+  %if %{with libatomic}
+  --with-libatomic                             \
+  %endif
+  --with-compat                                \
+  --add-dynamic-module=../%{project_name}      \
+%if 0%{?suse_version} > 1220
+  --with-cc-opt="%{optflags} -fPIC -D_GNU_SOURCE -std=gnu99 -fstack-protector 
-DNDK_ALL -Wno-maybe-uninitialized -Wno-sizeof-pointer-memaccess" \
+  --with-ld-opt="-Wl,-z,relro,-z,now -pie"
+%else
+  --with-cc-opt="%{optflags} -DNDK_ALL -Wno-maybe-uninitialized 
-Wno-sizeof-pointer-memaccess"
+%endif
 make modules
 
 %install


Reply via email to