simplify python2/python3/devel filelists
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
e1a61a52a3
commit
61aa00d32a
@ -237,26 +237,20 @@ rm -rf %{buildroot}
|
||||
%{_libdir}/pkgconfig/libselinux.pc
|
||||
%dir %{_libdir}/golang/src/pkg/github.com/selinux
|
||||
%{_libdir}/golang/src/pkg/github.com/selinux/selinux.go
|
||||
%dir %{_includedir}/selinux
|
||||
%{_includedir}/selinux/*
|
||||
%{_includedir}/selinux/
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%files static
|
||||
%{_libdir}/libselinux.a
|
||||
|
||||
%files -n python2-libselinux
|
||||
%dir %{python_sitearch}/selinux
|
||||
%{python_sitearch}/_selinux.so
|
||||
%{python_sitearch}/selinux/*
|
||||
%{python2_sitearch}/selinux/
|
||||
%{python2_sitearch}/_selinux.so
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%files -n python3-libselinux
|
||||
%dir %{python3_sitearch}/selinux
|
||||
%dir %{python3_sitearch}/selinux/__pycache__
|
||||
%{python3_sitearch}/selinux/*.py*
|
||||
%{python3_sitearch}/_selinux.cpython*.so
|
||||
%{python3_sitearch}/selinux/*.so
|
||||
%{python3_sitearch}/selinux/__pycache__/*
|
||||
%{python3_sitearch}/selinux/
|
||||
%{python3_sitearch}/_selinux.*.so
|
||||
%endif with_python3
|
||||
|
||||
%files ruby
|
||||
|
Loading…
Reference in New Issue
Block a user