Skip to content

Commit

Permalink
Fix formatting and rpm examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
jordansissel committed Nov 9, 2021
1 parent d6a77bf commit cb24061
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions docs/packages/empty.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,20 @@ Here's the fpm command to do this::
% fpm -s empty -t rpm -n devtools -a all -d git -d curl -d nodejs
Created package {:path=>"devtools-1.0-1.noarch.rpm"}

We can check the dependencies on this package and also see that there are no files::

% dpkg --field devtools_1.0_all.deb Depends
git, curl, nodejs

% dpkg --contents devtools_1.0_all.deb
drwxrwxr-x 0/0 0 2021-11-04 22:38 ./
drwxr-xr-x 0/0 0 2021-11-04 22:38 ./usr/
drwxr-xr-x 0/0 0 2021-11-04 22:38 ./usr/share/
drwxr-xr-x 0/0 0 2021-11-04 22:38 ./usr/share/doc/
drwxr-xr-x 0/0 0 2021-11-04 22:38 ./usr/share/doc/devtools/
-rw-r--r-- 0/0 135 2021-11-04 22:38 ./usr/share/doc/devtools/changelog.gz
We can check the dependencies on this package::

% rpm -qp devtools-1.0-1.noarch.rpm --requires
curl
git
nodejs
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1

And see that there are no files::

% rpm -ql devtools-1.0-1.noarch.rpm
(contains no files)


Fun Examples
------------
Expand Down

0 comments on commit cb24061

Please sign in to comment.