| |
@@ -393,10 +393,10 @@
|
| |
popd
|
| |
# argparse-manpage dynamic man pages have hardcoded man v1 in header,
|
| |
# need to change it to v8
|
| |
- sed -i "1s/\"1\"/\"8\"/" %{_builddir}/%{name}-%{version}%{?prerel}/man/man8/dsconf.8
|
| |
- sed -i "1s/\"1\"/\"8\"/" %{_builddir}/%{name}-%{version}%{?prerel}/man/man8/dsctl.8
|
| |
- sed -i "1s/\"1\"/\"8\"/" %{_builddir}/%{name}-%{version}%{?prerel}/man/man8/dsidm.8
|
| |
- sed -i "1s/\"1\"/\"8\"/" %{_builddir}/%{name}-%{version}%{?prerel}/man/man8/dscreate.8
|
| |
+ sed -i "1s/\"1\"/\"8\"/" %{_builddir}/%{name}-%{version}%{?prerel}/src/lib389/man/dsconf.8
|
| |
+ sed -i "1s/\"1\"/\"8\"/" %{_builddir}/%{name}-%{version}%{?prerel}/src/lib389/man/dsctl.8
|
| |
+ sed -i "1s/\"1\"/\"8\"/" %{_builddir}/%{name}-%{version}%{?prerel}/src/lib389/man/dsidm.8
|
| |
+ sed -i "1s/\"1\"/\"8\"/" %{_builddir}/%{name}-%{version}%{?prerel}/src/lib389/man/dscreate.8
|
| |
|
| |
# tests
|
| |
%py3_build
|
| |
@@ -514,7 +514,6 @@
|
| |
fi
|
| |
|
| |
%postun
|
| |
- /sbin/ldconfig
|
| |
if [ $1 = 0 ]; then # Final removal
|
| |
rm -rf /var/run/%{pkgname}
|
| |
fi
|
| |
@@ -632,16 +631,6 @@
|
| |
# We have to seperate this from being a glob to ensure the caps are applied.
|
| |
%caps(CAP_NET_BIND_SERVICE=pe) %{_sbindir}/ns-slapd
|
| |
%{_mandir}/man8/ns-slapd.8.gz
|
| |
- %if 0%{?rhel} > 7 || 0%{?fedora}
|
| |
- %{_sbindir}/dsconf
|
| |
- %{_mandir}/man8/dsconf.8.gz
|
| |
- %{_sbindir}/dscreate
|
| |
- %{_mandir}/man8/dscreate.8.gz
|
| |
- %{_sbindir}/dsctl
|
| |
- %{_mandir}/man8/dsctl.8.gz
|
| |
- %{_sbindir}/dsidm
|
| |
- %{_mandir}/man8/dsidm.8.gz
|
| |
- %endif
|
| |
%{_libexecdir}/%{pkgname}/ds_selinux_enabled
|
| |
%{_libexecdir}/%{pkgname}/ds_selinux_port_query
|
| |
%{_libexecdir}/%{pkgname}/ds_systemd_ask_password_acl
|
| |
@@ -824,6 +813,14 @@
|
| |
%defattr(-,root,root,-)
|
| |
%doc LICENSE LICENSE.GPLv3+
|
| |
%{python3_sitelib}/lib389*
|
| |
+ %{_sbindir}/dsconf
|
| |
+ %{_mandir}/man8/dsconf.8.gz
|
| |
+ %{_sbindir}/dscreate
|
| |
+ %{_mandir}/man8/dscreate.8.gz
|
| |
+ %{_sbindir}/dsctl
|
| |
+ %{_mandir}/man8/dsctl.8.gz
|
| |
+ %{_sbindir}/dsidm
|
| |
+ %{_mandir}/man8/dsidm.8.gz
|
| |
|
| |
%files -n python%{python3_pkgversion}-%{srcname}-tests
|
| |
%defattr(-,root,root,-)
|
| |
Description: Create and install the lib389 cli man pages in its
setup.py file. Previously running "make" in a dev
environment was failing because "make' was not installing
lib389 (and its man pages) which was breaking the build.
https://pagure.io/389-ds-base/issue/49811
Reviewed by: ?