https://github.com/sergk/rpm-package-build
Blueprint to build RPM package in CI/CD Pipeline
https://github.com/sergk/rpm-package-build
cicd kuberocketci rpm-spec rpmbuild rpmlint
Last synced: 5 months ago
JSON representation
Blueprint to build RPM package in CI/CD Pipeline
- Host: GitHub
- URL: https://github.com/sergk/rpm-package-build
- Owner: SergK
- License: apache-2.0
- Created: 2024-08-14T13:53:04.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-15T10:13:34.000Z (almost 2 years ago)
- Last Synced: 2025-02-05T06:44:00.243Z (over 1 year ago)
- Topics: cicd, kuberocketci, rpm-spec, rpmbuild, rpmlint
- Language: Makefile
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hello World RPM Package
This repository contains the source code and build scripts for creating an RPM package for a simple "Hello World" application written in c.
## Project Structure
- `Makefile`: Contains the build and clean commands for the project.
- `hello.spec`: The RPM spec file that defines the package metadata and build instructions.
- `.rpmlintrc.toml`: Configuration file for `rpmlint` to suppress specific warnings.
- `hello.c`: The main program for the "Hello World" application.
## Prerequisites
- `gcc`: GNU Compiler Collection.
- `make`: Build automation tool.
- `rpmbuild`: RPM build tool.
- `rpmlint`: RPM lint tool.
## Build Instructions
To build the RPM package, run the following command:
```sh
make rpm-build
```