-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4fbfda3
commit 3808dd8
Showing
2 changed files
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,16 +27,21 @@ Requires: pkgconfig | |
The libcap-ng-devel package contains the files needed for developing | ||
applications that need to use the libcap-ng library. | ||
|
||
%package python | ||
Summary: Python bindings for libcap-ng library | ||
%package -n python2-libcap-ng | ||
%{?python_provide:%python_provide python2-libcap-ng} | ||
# Remove in future | ||
Summary: Python2 bindings for libcap-ng library | ||
License: LGPLv2+ | ||
Group: Development/Libraries | ||
BuildRequires: python-devel swig | ||
BuildRequires: python2-devel swig | ||
Requires: %{name} = %{version}-%{release} | ||
Provides: %{name}-python = %{version}-%{release} | ||
Provides: %{name}-python%{?_isa} = %{version}-%{release} | ||
Obsoletes: %{name}-python < %{version}-%{release} | ||
|
||
%description python | ||
The libcap-ng-python package contains the bindings so that libcap-ng | ||
and can be used by python applications. | ||
%description python2-libcap-ng | ||
The python2-libcap-ng package contains the bindings so that libcap-ng | ||
and can be used by python2 applications. | ||
|
||
%package python3 | ||
Summary: Python3 bindings for libcap-ng library | ||
|
@@ -110,14 +115,15 @@ rm -rf $RPM_BUILD_ROOT | |
%attr(0644,root,root) %{_datadir}/aclocal/cap-ng.m4 | ||
%{_libdir}/pkgconfig/libcap-ng.pc | ||
|
||
%files python | ||
%files -n python2-libcap-ng | ||
%defattr(-,root,root,-) | ||
%attr(755,root,root) %{python2_sitearch}/_capng.so | ||
%{python2_sitearch}/capng.py* | ||
|
||
%files python3 | ||
%defattr(-,root,root,-) | ||
%attr(755,root,root) %{python3_sitearch}/* | ||
%{python3_sitearch}/capng.py* | ||
|
||
%files utils | ||
%defattr(-,root,root,-) | ||
|
@@ -126,6 +132,6 @@ rm -rf $RPM_BUILD_ROOT | |
%attr(0644,root,root) %{_mandir}/man8/* | ||
|
||
%changelog | ||
* Sun Jul 23 2016 Steve Grubb <[email protected]> 0.7.9-1 | ||
* Wed Feb 07 2018 Steve Grubb <[email protected]> 0.7.9-1 | ||
- New upstream release | ||
|