forked from containers/podman
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install podman-systemd.unit man page, make quadlet discoverable
Currently we are shipping no data about quadlet, since the podman-systemd.unit file is not shipped. Also want to add the quadlet name to the description of the man page so that man -k quadlet will help users find the man page. Also add a link file such that if the user types in man quadlet man will show the podman-systemd.unit file. Also eliminate the subpackage podman-quadlet Fixes: containers#17349 Signed-off-by: Daniel J Walsh <[email protected]>
- Loading branch information
1 parent
7378b75
commit f3ea361
Showing
4 changed files
with
14 additions
and
18 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
.so man5/podman-systemd.unit.5 |
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 |
---|---|---|
|
@@ -84,6 +84,10 @@ Requires: iptables | |
Requires: nftables | ||
Recommends: catatonit | ||
Suggests: qemu-user-static | ||
Conflicts: quadlet | ||
Provides: %{name}-quadlet | ||
Obsoletes: %{name}-quadlet <= 101:0.0.git.17877.f247b4d4-1 | ||
Provides: %{name}-quadlet = %{epoch}:%{version}-%{release} | ||
|
||
# More detailed description of the package | ||
%description | ||
|
@@ -141,17 +145,6 @@ Remote client for managing %{name} containers. | |
manage pods, containers and container images. %{name}-remote supports ssh | ||
connections as well. | ||
|
||
%package quadlet | ||
Summary: Easily create systemd services using %{name} | ||
Requires: %{name} = %{epoch}:%{version}-%{release} | ||
Conflicts: quadlet | ||
|
||
%description quadlet | ||
This package installs a systemd generator for *.container files in | ||
/etc/containers/systemd. Such files are automatically converted into | ||
systemd service units, allowing easily written and maintained | ||
podman-based system services. | ||
|
||
# The following four sections already describe the rpm build process itself. | ||
# prep will extract the tarball defined as Source above and descend into it. | ||
%prep | ||
|
@@ -240,6 +233,9 @@ fi | |
%{_bindir}/%{name} | ||
%dir %{_libexecdir}/%{name} | ||
%{_libexecdir}/%{name}/rootlessport | ||
%{_libexecdir}/%{name}/quadlet | ||
%{_systemdgeneratordir}/%{name}-system-generator | ||
%{_systemdusergeneratordir}/%{name}-user-generator | ||
%{_datadir}/bash-completion/completions/%{name} | ||
# By "owning" the site-functions dir, we don't need to Require zsh | ||
%dir %{_datadir}/zsh/site-functions | ||
|
@@ -261,6 +257,8 @@ fi | |
%{_userunitdir}/%{name}[email protected] | ||
%{_tmpfilesdir}/%{name}.conf | ||
%{_user_tmpfilesdir}/%{name}-docker.conf | ||
%{_mandir}/man5/quadlet*.5* | ||
%{_mandir}/man5/podman-systemd.unit*.5* | ||
%if 0%{?fedora} >= 36 | ||
%{_modulesloaddir}/%{name}-iptables.conf | ||
%endif | ||
|
@@ -271,12 +269,6 @@ fi | |
%{_mandir}/man5/docker*.5* | ||
%{_usr}/lib/tmpfiles.d/%{name}-docker.conf | ||
|
||
%files quadlet | ||
%license LICENSE | ||
%{_libexecdir}/%{name}/quadlet | ||
%_prefix/lib/systemd/system-generators/podman-system-generator | ||
%_prefix/lib/systemd/user-generators/podman-user-generator | ||
|
||
%files remote | ||
%license LICENSE | ||
%{_bindir}/%{name}-remote | ||
|