https://github.com/hbjydev/bat.rpm
An RPM spec for the `bat` utility
https://github.com/hbjydev/bat.rpm
Last synced: about 2 months ago
JSON representation
An RPM spec for the `bat` utility
- Host: GitHub
- URL: https://github.com/hbjydev/bat.rpm
- Owner: hbjydev
- Created: 2021-06-20T12:03:26.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-20T12:08:10.000Z (almost 4 years ago)
- Last Synced: 2025-01-26T16:44:35.429Z (4 months ago)
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bat.rpm
An RPM spec for the [bat](https://github.com/sharkdp/bat) utility.
## Building
To build, you will need two packages on a Fedora or Rocky Linux machine:
- `mock`
- `rpmdevtools`Once you have cloned the repository into your rpmbuild/ directory, you can
perform the steps required to build the package.```shell
# build srpm
$ rpmbuild -bs SPECS/bat.spec# build rpm with mock
$ mock -r epel-8-x86_64 --rebuild SRPMS/bat-*.src.rpm
```With this command, your output should be in
`/var/lib/mock/epel-8-x86_64/result/`. This should include a `build.log` and
`bat-*.rpm` file. You can install said `.rpm` file with `rpm`.