Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
build: Move manual pages to devel package. Use _libdir for SHLIBDIR.
  • Loading branch information
LaakkonenJussi committed Oct 16, 2018
1 parent bdf1519 commit 6b0fe30
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rpm/libselinux.spec
Expand Up @@ -145,7 +145,7 @@ InstallPythonWrapper() {
make \
PYTHON=$BinaryName \
DESTDIR="%{buildroot}" LIBDIR="%{buildroot}%{_libdir}" \
SHLIBDIR="%{buildroot}/%{_lib}" BINDIR="%{buildroot}%{_bindir}" \
SHLIBDIR="%{buildroot}/%{_libdir}" BINDIR="%{buildroot}%{_bindir}" \
SBINDIR="%{buildroot}%{_sbindir}" \
LIBSEPOLA="%{_libdir}/libsepol.a" \
install-pywrap
Expand Down Expand Up @@ -213,14 +213,14 @@ rm -f %{buildroot}%{_mandir}/man8/togglesebool*
%{_sbindir}/selabel_lookup_best_match
%{_sbindir}/selabel_partial_match
%{_sbindir}/selinux_check_access
%{_mandir}/man5/*
%{_mandir}/man8/*

%files devel
%{_libdir}/libselinux.so
%{_libdir}/pkgconfig/libselinux.pc
%{_includedir}/selinux/
%{_mandir}/man3/*
%{_mandir}/man5/*
%{_mandir}/man8/*

%files static
%{_libdir}/libselinux.a
Expand Down

0 comments on commit 6b0fe30

Please sign in to comment.