Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mingw64-zlib for openSUSE:Factory 
checked in at 2021-09-21 21:12:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mingw64-zlib (Old)
 and      /work/SRC/openSUSE:Factory/.mingw64-zlib.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mingw64-zlib"

Tue Sep 21 21:12:55 2021 rev:2 rq:920535 version:1.2.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/mingw64-zlib/mingw64-zlib.changes        
2020-01-08 17:53:48.553617469 +0100
+++ /work/SRC/openSUSE:Factory/.mingw64-zlib.new.1899/mingw64-zlib.changes      
2021-09-21 21:13:47.342682494 +0200
@@ -1,0 +2,6 @@
+Tue Sep 14 05:50:50 UTC 2021 - Fridrich Strba <[email protected]>
+
+- Add rpmlintrc file to silence some rpmlint errors that make
+  the build fail.
+
+-------------------------------------------------------------------

New:
----
  mingw64-zlib-rpmlintrc

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

Other differences:
------------------
++++++ mingw64-zlib.spec ++++++
--- /var/tmp/diff_new_pack.SZs4Jt/_old  2021-09-21 21:13:47.862683083 +0200
+++ /var/tmp/diff_new_pack.SZs4Jt/_new  2021-09-21 21:13:47.862683083 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mingw64-zlib
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -22,12 +22,12 @@
 Summary:        Zlib compression library
 License:        Zlib
 Group:          Productivity/Archiving/Compression
-Url:            http://www.zlib.net/
+URL:            https://www.zlib.net/
 Source:         http://www.zlib.net/zlib-%{version}.tar.xz
+Source1000:     %{name}-rpmlintrc
 Patch0:         zlib-1.2.5-nostrip.patch
 Patch1:         zlib-1.2.5-tml.patch
 Patch2:         0001-cmake-Fix-pkgconfig-support-on-Windows.patch
-#!BuildIgnore: post-build-checks
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  cmake
@@ -37,9 +37,9 @@
 BuildRequires:  mingw64-cross-pkg-config
 BuildRequires:  mingw64-filesystem
 BuildRequires:  xz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%_mingw64_package_header_debug
+#!BuildIgnore:  post-build-checks
 BuildArch:      noarch
+%{_mingw64_package_header_debug}
 
 %description
 zlib is designed to be a free, general-purpose, legally unencumbered -- that
@@ -47,6 +47,7 @@
 virtually any computer hardware and operating system.
 
 
+
 # deprecated, for compatibility only
 %package -n mingw64-zlib1
 Summary:        Zlib compression library
@@ -109,34 +110,31 @@
 %patch2 -p1
 
 %build
-%_mingw64_cmake . -DINSTALL_PKGCONFIG_DIR=%{_mingw64_libdir}/pkgconfig
+%{_mingw64_cmake} . -DINSTALL_PKGCONFIG_DIR=%{_mingw64_libdir}/pkgconfig
 %{_mingw64_make} CFLAGS=-shared LDFLAGS=-no-undefined
 
 cd contrib/minizip
 autoreconf -fi
 echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache}
-MINGW32_CFLAGS="%{_mingw64_cflags} 
-I/$RPM_BUILD_DIR/%{name}-%{version}-%{release}" \
-MINGW32_LDFLAGS="%{_mingw64_ldflags} 
-L/$RPM_BUILD_DIR/%{name}-%{version}-%{release}" \
+MINGW64_CFLAGS="%{_mingw64_cflags} 
-I/$RPM_BUILD_DIR/%{name}-%{version}-%{release}" \
+MINGW64_LDFLAGS="%{_mingw64_ldflags} 
-L/$RPM_BUILD_DIR/%{name}-%{version}-%{release}" \
 %{_mingw64_configure}
 
 %{_mingw64_make} CFLAGS=-shared LDFLAGS=-no-undefined
 
 %install
-make DESTDIR=%{buildroot} install
+%make_install
 make -C contrib/minizip DESTDIR=%{buildroot} install
 # for compatibility with older packages
-cp %{buildroot}%{_mingw64_bindir}/libz.dll 
%{buildroot}%{_mingw64_bindir}/zlib1.dll
+ln -sf libz.dll %{buildroot}%{_mingw64_bindir}/zlib1.dll
 
 %files -n mingw64-zlib1
-%defattr(-,root,root)
 %{_mingw64_bindir}/zlib1.dll
 
 %files -n mingw64-libz
-%defattr(-,root,root)
 %{_mingw64_bindir}/libz.dll
 
 %files devel
-%defattr(-,root,root)
 %{_mingw64_includedir}/zconf.h
 %{_mingw64_includedir}/zlib.h
 %{_mingw64_libdir}/libz.dll.a
@@ -146,11 +144,9 @@
 %{_mingw64_datadir}/man
 
 %files -n mingw64-libminizip1
-%defattr(-,root,root,-)
 %{_mingw64_bindir}/libminizip-1.dll
 
 %files -n mingw64-minizip-devel
-%defattr(-,root,root,-)
 %{_mingw64_includedir}/minizip/*.h
 %{_mingw64_libdir}/libminizip.dll.a
 %{_mingw64_libdir}/pkgconfig/minizip.pc

++++++ mingw64-zlib-rpmlintrc ++++++
addFilter("arch-independent-package-contains-binary-or-object")
addFilter("filelist-forbidden-fhs23")

Reply via email to