Hello community,

here is the log from the commit of package acl for openSUSE:Factory checked in 
at 2017-04-03 11:04:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/acl (Old)
 and      /work/SRC/openSUSE:Factory/.acl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "acl"

Mon Apr  3 11:04:40 2017 rev:41 rq:484099 version:2.2.52

Changes:
--------
--- /work/SRC/openSUSE:Factory/acl/acl.changes  2017-03-29 13:21:38.537307783 
+0200
+++ /work/SRC/openSUSE:Factory/.acl.new/acl.changes     2017-04-03 
11:04:41.311238197 +0200
@@ -1,0 +2,6 @@
+Wed Mar 29 14:25:36 UTC 2017 - [email protected]
+
+- Make it possible to disable tests (for Ring0)
+- Add BuildRequires: system-user-daemon for the testsuite
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ acl.spec ++++++
--- /var/tmp/diff_new_pack.i4ggtI/_old  2017-04-03 11:04:43.062990705 +0200
+++ /var/tmp/diff_new_pack.i4ggtI/_new  2017-04-03 11:04:43.062990705 +0200
@@ -16,6 +16,9 @@
 #
 
 
+# Ring0 does not have system-user-bin/system-user-daemon
+%bcond_without acl_tests
+
 Name:           acl
 %define lname  libacl1
 Summary:        Commands for Manipulating POSIX Access Control Lists
@@ -78,8 +81,9 @@
 BuildRequires:  libattr-devel
 BuildRequires:  libtool
 BuildRequires:  pkg-config
-%if 0%{?suse_version} > 1320
+%if %{with acl_tests} && 0%{?suse_version} > 1320
 BuildRequires:  system-user-bin
+BuildRequires:  system-user-daemon
 %endif
 #BuildRequires:  gpg-offline
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -178,12 +182,14 @@
 %{__make} %{?_smp_mflags}
 
 %check
-if ./setfacl -m u:`id -u`:rwx .; then
+%if %{with acl_tests}
+    if ./setfacl -m u:`id -u`:rwx .; then
     make check || (cat test-suite.log ; false)
-else
+    else
     echo '*** ACLs are probably not supported by the file system,' \
          'the test-suite will NOT run ***'
-fi
+    fi
+%endif
 
 %install
 %make_install


Reply via email to