Hello community,

here is the log from the commit of package catatonit for openSUSE:Factory 
checked in at 2018-04-10 09:52:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/catatonit (Old)
 and      /work/SRC/openSUSE:Factory/.catatonit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "catatonit"

Tue Apr 10 09:52:50 2018 rev:3 rq:594081 version:0.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/catatonit/catatonit.changes      2018-04-05 
15:29:16.849273973 +0200
+++ /work/SRC/openSUSE:Factory/.catatonit.new/catatonit.changes 2018-04-10 
09:52:54.415298743 +0200
@@ -1,0 +2,10 @@
+Fri Apr  6 18:31:08 UTC 2018 - asa...@suse.com
+
+- Fix build to correctly build a static binary (which will allow it to work in
+  all containers). This was caused by forgetting to include
+  'glibc-devel-static'. I've added a check to ensure it doesn't happen by
+  accident again.
+- Add catatonit-rpmlintrc to include filters for "static binary" warnings,
+  since this is intentional.
+
+-------------------------------------------------------------------

New:
----
  catatonit-rpmlintrc

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

Other differences:
------------------
++++++ catatonit.spec ++++++
--- /var/tmp/diff_new_pack.Xy6Sak/_old  2018-04-10 09:52:55.043275986 +0200
+++ /var/tmp/diff_new_pack.Xy6Sak/_new  2018-04-10 09:52:55.047275841 +0200
@@ -26,9 +26,12 @@
 Source0:        %{name}-%{version}.tar.xz
 Source1:        %{name}-%{version}.tar.xz.asc
 Source2:        %{name}.keyring
+Source3:        %{name}-rpmlintrc
 BuildRequires:  autoconf
 BuildRequires:  automake
+BuildRequires:  file
 BuildRequires:  gcc
+BuildRequires:  glibc-devel-static
 BuildRequires:  libtool
 
 %description
@@ -49,6 +52,10 @@
 %configure
 make %{?_smp_mflags}
 
+# Make sure we *always* build a static binary. Otherwise we'll break containers
+# that don't have the necessary shared libs.
+file ./%{name} | grep 'statically linked'
+
 %install
 %make_install
 ln -s %{_bindir}/%{name} %{buildroot}%{_bindir}/docker-init


++++++ catatonit-rpmlintrc ++++++
# We need catatonit to be statically linked.
addFilter ("^catatonit.*: W: statically-linked-binary /usr/bin/catatonit")
addFilter ("^catatonit.*: W: position-independent-executable-suggested 
/usr/bin/catatonit")

Reply via email to