forked from pool/libcap-ng
Accepting request 577735 from home:jengelh:branches:security
- Remove ineffective --with-pic. Fix SRPM group. Redo descriptions. - Rename %soname to %sover to better reflect its use. OBS-URL: https://build.opensuse.org/request/show/577735 OBS-URL: https://build.opensuse.org/package/show/security/libcap-ng?expand=0&rev=32
This commit is contained in:
parent
5be9e32e9a
commit
39c582e8ea
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 18 12:13:56 UTC 2018 - jengelh@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 - avindra@opensuse.org
|
||||
|
||||
|
@ -16,13 +16,13 @@
|
||||
#
|
||||
|
||||
|
||||
%define soname 0
|
||||
%define sover 0
|
||||
Name: libcap-ng-python
|
||||
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
|
||||
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
|
||||
@ -32,7 +32,9 @@ BuildRequires: pkgconfig
|
||||
BuildRequires: python-base
|
||||
|
||||
%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
|
||||
Summary: Python bindings for libcap-ng library
|
||||
@ -40,11 +42,11 @@ Group: Development/Libraries/Python
|
||||
BuildRequires: libcap-ng-devel = %{version}
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: swig
|
||||
Requires: libcap-ng%{soname} = %{version}
|
||||
Requires: libcap-ng%{sover} = %{version}
|
||||
|
||||
%description -n python-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.
|
||||
|
||||
%prep
|
||||
%setup -q -n libcap-ng-%{version}
|
||||
@ -52,7 +54,6 @@ and can be used by python applications.
|
||||
%build
|
||||
%configure \
|
||||
--disable-static \
|
||||
--with-pic \
|
||||
--with-python \
|
||||
--without-python3
|
||||
make %{?_smp_mflags}
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 18 12:13:56 UTC 2018 - jengelh@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 - avindra@opensuse.org
|
||||
|
||||
|
@ -16,13 +16,13 @@
|
||||
#
|
||||
|
||||
|
||||
%define soname 0
|
||||
%define sover 0
|
||||
Name: libcap-ng
|
||||
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
|
||||
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
|
||||
@ -31,21 +31,24 @@ BuildRequires: kernel-headers >= 2.6.11
|
||||
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
|
||||
|
||||
@ -60,8 +63,8 @@ Group: System/Base
|
||||
|
||||
%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
|
||||
@ -69,7 +72,6 @@ lets you set the file system based capabilities.
|
||||
%build
|
||||
%configure \
|
||||
--disable-static \
|
||||
--with-pic \
|
||||
--without-python
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@ -77,13 +79,13 @@ make %{?_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}
|
||||
%files -n %{name}%{sover}
|
||||
%doc COPYING.LIB
|
||||
%{_libdir}/%{name}.so.%{soname}
|
||||
%{_libdir}/%{name}.so.%{soname}.*
|
||||
%{_libdir}/%{name}.so.%{sover}
|
||||
%{_libdir}/%{name}.so.%{sover}.*
|
||||
|
||||
%files devel
|
||||
%{_mandir}/man3/*.3%{ext_man}
|
||||
|
Loading…
Reference in New Issue
Block a user