Hello community,

here is the log from the commit of package apcupsd for openSUSE:Factory checked 
in at 2017-09-04 12:35:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apcupsd (Old)
 and      /work/SRC/openSUSE:Factory/.apcupsd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apcupsd"

Mon Sep  4 12:35:35 2017 rev:61 rq:520255 version:3.14.14

Changes:
--------
--- /work/SRC/openSUSE:Factory/apcupsd/apcupsd.changes  2016-12-26 
21:45:51.607724894 +0100
+++ /work/SRC/openSUSE:Factory/.apcupsd.new/apcupsd.changes     2017-09-04 
12:35:36.265571256 +0200
@@ -1,0 +2,8 @@
+Thu Aug 31 17:04:39 UTC 2017 - dims...@opensuse.org
+
+- Pass --with-distname=, based on the values of ID_LIKE from
+  /etc/os-release to configure. Since the removal of
+  /etc/SuSE-release, the build system is no longer able to identify
+  us building on a SUSE system. Let's help it.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ apcupsd.spec ++++++
--- /var/tmp/diff_new_pack.WHZ3CN/_old  2017-09-04 12:35:37.605382871 +0200
+++ /var/tmp/diff_new_pack.WHZ3CN/_new  2017-09-04 12:35:37.625380060 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package apcupsd
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -61,10 +61,10 @@
 BuildRequires:  xorg-x11-devel
 Requires:       %{_bindir}/mail
 Requires(post): %fillup_prereq
+Requires(post): %{_bindir}/grep
 # sed and grep are still prerequred to finish upgrade from sysvinit scripts:
-Requires(post): %{_bindir}/sed %{_bindir}/grep
+Requires(post): %{_bindir}/sed
 Suggests:       logrotate
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} > 1210
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  systemd-sysvinit
@@ -133,7 +133,8 @@
        --enable-all \
        --enable-nls \
        --with-lock-dir=%{_localstatedir}/lock \
-       --with-cgi-bin=%{apache_serverroot}/cgi-bin
+       --with-cgi-bin=%{apache_serverroot}/cgi-bin \
+       --with-distname=$(grep ID_LIKE %{_sysconfdir}/os-release | cut -d = -f 
2 | tr -d '"')
 make %{?_smp_mflags}
 
 %install



Reply via email to