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
|
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
|
Name: libcap-ng-python
|
||||||
Version: 0.7.9
|
Version: 0.7.9
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An alternate POSIX capabilities library
|
Summary: An alternate Linux/POSIX capabilities library
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: Development/Libraries/C and C++
|
||||||
Url: https://people.redhat.com/sgrubb/libcap-ng
|
Url: https://people.redhat.com/sgrubb/libcap-ng
|
||||||
Source0: https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-%{version}.tar.gz
|
Source0: https://people.redhat.com/sgrubb/libcap-ng/libcap-ng-%{version}.tar.gz
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
@ -32,7 +32,9 @@ BuildRequires: pkgconfig
|
|||||||
BuildRequires: python-base
|
BuildRequires: python-base
|
||||||
|
|
||||||
%description
|
%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 python-capng
|
||||||
Summary: Python bindings for libcap-ng library
|
Summary: Python bindings for libcap-ng library
|
||||||
@ -40,11 +42,11 @@ Group: Development/Libraries/Python
|
|||||||
BuildRequires: libcap-ng-devel = %{version}
|
BuildRequires: libcap-ng-devel = %{version}
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: swig
|
BuildRequires: swig
|
||||||
Requires: libcap-ng%{soname} = %{version}
|
Requires: libcap-ng%{sover} = %{version}
|
||||||
|
|
||||||
%description -n python-capng
|
%description -n python-capng
|
||||||
The libcap-ng-python package contains the bindings so that libcap-ng
|
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
|
%prep
|
||||||
%setup -q -n libcap-ng-%{version}
|
%setup -q -n libcap-ng-%{version}
|
||||||
@ -52,7 +54,6 @@ and can be used by python applications.
|
|||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--with-pic \
|
|
||||||
--with-python \
|
--with-python \
|
||||||
--without-python3
|
--without-python3
|
||||||
make %{?_smp_mflags}
|
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
|
Sun Feb 18 09:23:18 UTC 2018 - avindra@opensuse.org
|
||||||
|
|
||||||
|
@ -16,13 +16,13 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define soname 0
|
%define sover 0
|
||||||
Name: libcap-ng
|
Name: libcap-ng
|
||||||
Version: 0.7.9
|
Version: 0.7.9
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An alternate POSIX capabilities library
|
Summary: An alternate Linux/POSIX capabilities library
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: Development/Libraries/C and C++
|
||||||
Url: https://people.redhat.com/sgrubb/libcap-ng
|
Url: https://people.redhat.com/sgrubb/libcap-ng
|
||||||
Source0: https://people.redhat.com/sgrubb/%{name}/%{name}-%{version}.tar.gz
|
Source0: https://people.redhat.com/sgrubb/%{name}/%{name}-%{version}.tar.gz
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
@ -31,21 +31,24 @@ BuildRequires: kernel-headers >= 2.6.11
|
|||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
|
||||||
%description
|
%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}
|
%package -n %{name}%{sover}
|
||||||
Summary: An alternate POSIX capabilities library
|
Summary: An alternate Linux/POSIX capabilities library
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n %{name}%{soname}
|
%description -n %{name}%{sover}
|
||||||
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 devel
|
%package devel
|
||||||
Summary: Header files for libcap-ng library
|
Summary: Header files for the libcap-ng library
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %{name}%{soname} = %{version}
|
Requires: %{name}%{sover} = %{version}
|
||||||
Requires: kernel-headers >= 2.6.11
|
Requires: kernel-headers >= 2.6.11
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
|
|
||||||
@ -60,8 +63,8 @@ Group: System/Base
|
|||||||
|
|
||||||
%description utils
|
%description utils
|
||||||
The libcap-ng-utils package contains applications to analyse the
|
The libcap-ng-utils package contains applications to analyse the
|
||||||
posix capabilities of all the program running on a system. It also
|
Linux process capabilities of programs running on a system. It also
|
||||||
lets you set the file system based capabilities.
|
lets you set the filesystem-based capabilities.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -69,7 +72,6 @@ lets you set the file system based capabilities.
|
|||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--with-pic \
|
|
||||||
--without-python
|
--without-python
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
@ -77,13 +79,13 @@ make %{?_smp_mflags}
|
|||||||
%make_install
|
%make_install
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -n %{name}%{soname} -p /sbin/ldconfig
|
%post -n %{name}%{sover} -p /sbin/ldconfig
|
||||||
%postun -n %{name}%{soname} -p /sbin/ldconfig
|
%postun -n %{name}%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %{name}%{soname}
|
%files -n %{name}%{sover}
|
||||||
%doc COPYING.LIB
|
%doc COPYING.LIB
|
||||||
%{_libdir}/%{name}.so.%{soname}
|
%{_libdir}/%{name}.so.%{sover}
|
||||||
%{_libdir}/%{name}.so.%{soname}.*
|
%{_libdir}/%{name}.so.%{sover}.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_mandir}/man3/*.3%{ext_man}
|
%{_mandir}/man3/*.3%{ext_man}
|
||||||
|
Loading…
Reference in New Issue
Block a user