Hello community,

here is the log from the commit of package libcap-ng for openSUSE:Factory 
checked in at 2018-02-23 15:28:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libcap-ng (Old)
 and      /work/SRC/openSUSE:Factory/.libcap-ng.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libcap-ng"

Fri Feb 23 15:28:00 2018 rev:27 rq:578311 version:0.7.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/libcap-ng/libcap-ng-python.changes       
2017-05-24 16:45:44.441643987 +0200
+++ /work/SRC/openSUSE:Factory/.libcap-ng.new/libcap-ng-python.changes  
2018-02-23 15:28:02.234339551 +0100
@@ -1,0 +2,21 @@
+Tue Feb 20 10:28:46 UTC 2018 - tchva...@suse.com
+
+- Switch to singlespec approach to allow building of python3
+  bindings
+
+-------------------------------------------------------------------
+Sun Feb 18 12:13:56 UTC 2018 - jeng...@inai.de
+
+- Remove ineffective --with-pic. Fix SRPM group. Redo descriptions.
+- Rename %soname to %sover to better reflect its use.
+
+-------------------------------------------------------------------
+Sun Feb 18 09:22:44 UTC 2018 - avin...@opensuse.org
+
+- Update to version 0.7.9:
+  * Fix byte compiling python3 bindings
+  * Rework spec file to show new python2/3 separation
+- cleanup with spec-cleaner
+- use https urls
+
+-------------------------------------------------------------------
--- /work/SRC/openSUSE:Factory/libcap-ng/libcap-ng.changes      2017-05-24 
16:45:44.513633852 +0200
+++ /work/SRC/openSUSE:Factory/.libcap-ng.new/libcap-ng.changes 2018-02-23 
15:28:02.358335071 +0100
@@ -1,0 +2,21 @@
+Tue Feb 20 10:16:07 UTC 2018 - tchva...@suse.com
+
+- Move %doc to %license for licenses
+
+-------------------------------------------------------------------
+Sun Feb 18 12:13:56 UTC 2018 - jeng...@inai.de
+
+- Remove ineffective --with-pic. Fix SRPM group. Redo descriptions.
+- Rename %soname to %sover to better reflect its use.
+
+-------------------------------------------------------------------
+Sun Feb 18 09:23:18 UTC 2018 - avin...@opensuse.org
+
+- Update to version 0.7.9:
+  * Detect and output a couple errors in filecap
+  * Use pthread_atfork to optionally reset the pid and related info
+    on fork
+- cleanup with spec-cleaner
+- use https urls
+
+-------------------------------------------------------------------

Old:
----
  libcap-ng-0.7.8.tar.gz

New:
----
  libcap-ng-0.7.9.tar.gz

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

Other differences:
------------------
++++++ libcap-ng-python.spec ++++++
--- /var/tmp/diff_new_pack.GyNaEf/_old  2018-02-23 15:28:03.386297933 +0100
+++ /var/tmp/diff_new_pack.GyNaEf/_new  2018-02-23 15:28:03.390297789 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libcap-ng-python
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -16,37 +16,49 @@
 #
 
 
-%define soname  0
+%define sover  0
+%bcond_without python2
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           libcap-ng-python
-Version:        0.7.8
+Version:        0.7.9
 Release:        0
-Summary:        An alternate POSIX capabilities library
+Summary:        An alternate Linux/POSIX capabilities library
 License:        LGPL-2.1+
-Group:          System/Libraries
-Url:            http://people.redhat.com/sgrubb/libcap-ng
-Source0:        
http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-%{version}.tar.gz
+Group:          Development/Libraries/C and C++
+Url:            https://people.redhat.com/sgrubb/libcap-ng
+Source0:        
https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-%{version}.tar.gz
 Source1:        baselibs.conf
 Source99:       libcap-ng.rpmlintrc
+BuildRequires:  %{python_module devel}
 BuildRequires:  kernel-headers >= 2.6.11
-BuildRequires:  pkg-config
-BuildRequires:  python-base
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  libcap-ng-devel = %{version}
+BuildRequires:  pkgconfig
+BuildRequires:  python-rpm-macros
+BuildRequires:  swig
 
 %description
-Libcap-ng is a library that makes using posix capabilities easier
+libcap-ng is a library providing an alternate mechanism to libcap to
+inspect and set Linux process and file capabilities (modeled upon a
+withdrawn POSIX.1e draft).
 
-%package -n python-capng
+%package -n python2-capng
 Summary:        Python bindings for libcap-ng library
 Group:          Development/Libraries/Python
-BuildRequires:  libcap-ng-devel = %{version}
-BuildRequires:  python-devel
-BuildRequires:  swig
-Requires:       libcap-ng%{soname} = %{version}
-%{py_requires}
+Requires:       libcap-ng%{sover} = %{version}
 
-%description -n python-capng
+%description -n python2-capng
 The libcap-ng-python package contains the bindings so that libcap-ng
-and can be used by python applications.
+and can be used by Python applications.
+
+%package -n python3-capng
+Summary:        Python bindings for libcap-ng library
+Group:          Development/Libraries/Python
+Requires:       libcap-ng%{sover} = %{version}
+
+%description -n python3-capng
+The libcap-ng-python package contains the bindings so that libcap-ng
+and can be used by Python applications.
+
 
 %prep
 %setup -q -n libcap-ng-%{version}
@@ -54,18 +66,25 @@
 %build
 %configure \
     --disable-static \
-    --with-pic \
+%if %{with python2}
     --with-python \
-    --without-python3
+%endif
+    --with-python3
 make %{?_smp_mflags}
 
 %install
-make DESTDIR=%{buildroot} install %{?_smp_mflags} -C bindings/python
+%if %{with python2}
+%make_install -C bindings/python
+%endif
+%make_install -C bindings/python3
 find %{buildroot} -type f -name "*.la" -delete -print
 
-%files -n python-capng
-%defattr(-,root,root,-)
-%{python_sitearch}/_capng.so
-%{python_sitearch}/capng.py*
+%if %{with python2}
+%files -n python2-capng
+%{python2_sitearch}/*
+%endif
+
+%files -n python3-capng
+%{python3_sitearch}/*
 
 %changelog

++++++ libcap-ng.spec ++++++
--- /var/tmp/diff_new_pack.GyNaEf/_old  2018-02-23 15:28:03.410297066 +0100
+++ /var/tmp/diff_new_pack.GyNaEf/_new  2018-02-23 15:28:03.414296922 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libcap-ng
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -16,37 +16,39 @@
 #
 
 
-%define soname  0
+%define sover  0
 Name:           libcap-ng
-Version:        0.7.8
+Version:        0.7.9
 Release:        0
-Summary:        An alternate POSIX capabilities library
+Summary:        An alternate Linux/POSIX capabilities library
 License:        LGPL-2.1+
-Group:          System/Libraries
-Url:            http://people.redhat.com/sgrubb/libcap-ng
-Source0:        
http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-%{version}.tar.gz
+Group:          Development/Libraries/C and C++
+Url:            https://people.redhat.com/sgrubb/libcap-ng
+Source0:        
https://people.redhat.com/sgrubb/%{name}/%{name}-%{version}.tar.gz
 Source1:        baselibs.conf
 Source99:       libcap-ng.rpmlintrc
 BuildRequires:  kernel-headers >= 2.6.11
-BuildRequires:  pkg-config
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  pkgconfig
 
 %description
-Libcap-ng is a library that makes using posix capabilities easier
+libcap-ng is a library providing an alternate mechanism to libcap to
+make use of Linux process and file capabilities.
 
-%package -n %{name}%{soname}
-Summary:        An alternate POSIX capabilities library
+%package -n %{name}%{sover}
+Summary:        An alternate Linux/POSIX capabilities library
 License:        LGPL-2.1+
 Group:          System/Libraries
 
-%description -n %{name}%{soname}
-Libcap-ng is a library that makes using posix capabilities easier
+%description -n %{name}%{sover}
+libcap-ng is a library providing an alternate mechanism to libcap to
+inspect and set Linux process and file capabilities (modeled upon a
+withdrawn POSIX.1e draft).
 
 %package devel
-Summary:        Header files for libcap-ng library
+Summary:        Header files for the libcap-ng library
 License:        LGPL-2.1+
 Group:          Development/Libraries/C and C++
-Requires:       %{name}%{soname} = %{version}
+Requires:       %{name}%{sover} = %{version}
 Requires:       kernel-headers >= 2.6.11
 Requires:       pkgconfig
 
@@ -61,8 +63,8 @@
 
 %description utils
 The libcap-ng-utils package contains applications to analyse the
-posix capabilities of all the program running on a system. It also
-lets you set the file system based capabilities.
+Linux process capabilities of programs running on a system. It also
+lets you set the filesystem-based capabilities.
 
 %prep
 %setup -q
@@ -70,26 +72,22 @@
 %build
 %configure \
        --disable-static \
-       --with-pic \
        --without-python
 make %{?_smp_mflags}
 
 %install
-make DESTDIR=%{buildroot} install %{?_smp_mflags}
+%make_install
 find %{buildroot} -type f -name "*.la" -delete -print
 
-%post -n %{name}%{soname} -p /sbin/ldconfig
-
-%postun -n %{name}%{soname} -p /sbin/ldconfig
+%post -n %{name}%{sover} -p /sbin/ldconfig
+%postun -n %{name}%{sover} -p /sbin/ldconfig
 
-%files -n %{name}%{soname}
-%defattr(-,root,root,-)
-%doc COPYING.LIB
-%{_libdir}/%{name}.so.%{soname}
-%{_libdir}/%{name}.so.%{soname}.*
+%files -n %{name}%{sover}
+%license COPYING.LIB
+%{_libdir}/%{name}.so.%{sover}
+%{_libdir}/%{name}.so.%{sover}.*
 
 %files devel
-%defattr(-,root,root,-)
 %{_mandir}/man3/*.3%{ext_man}
 %{_includedir}/cap-ng.h
 %{_libdir}/%{name}.so
@@ -97,8 +95,7 @@
 %{_libdir}/pkgconfig/%{name}.pc
 
 %files utils
-%defattr(-,root,root,-)
-%doc COPYING
+%license COPYING
 %{_bindir}/captest
 %{_bindir}/filecap
 %{_bindir}/netcap

++++++ libcap-ng-0.7.8.tar.gz -> libcap-ng-0.7.9.tar.gz ++++++
++++ 3140 lines of diff (skipped)


Reply via email to