This project provides tools for automating RPM repository management.
First, clone the repository and navigate into the project directory:
git clone https://github.com/nilsver/devtools.git
cd devtoolsTo build the RPM package, run the following command:
./build.shOnce the RPM is built, you can install it using yum or dnf:
sudo yum localinstall devtools-1.0-1.x86_64.rpmAfter installation, you need to configure your environment by running:
sudo setup_devtools.shThis will prompt you to enter a USERNAME and the PACKAGE_DIR for your RPMs. The settings will be saved in the /usr/local/bin/.env file.
After installation and environment setup, you can use the following commands to manage your RPM repository:
- rb_copy_to_repo – Copy RPMs to the repository directory.
- rb_clean_repo – Clean RPMs from the repository.
- rb_show_repo – Show the overview of the RPM repository.
Contributions are welcome! Feel free to fork the repository and submit pull requests with improvements, bug fixes, or new features.