RPM to "provide"
/bin/lpr to satisfy the dependency requirements of the
redhat-lsb-core package without needing to install CUPS and X11.
For more information:
Please visit our blog post.
- We're assuming you're on a CentOS box
- Start by installing the pre-requisites:
yum install rpm-build
- Download the
fake-lpr.specfile in this repo.
- Build the package:
rpmbuild -ba fake-lpr.spec
- Deploy the generated RPM, or grab a the prebuilt one in this repo.
- Install it with:
sudo rpm -ivh fake-lpr-1.0-1.noarch.rpm