From 9acaecdbf3985ab106db6c59d49fac5146a0d6f0 Mon Sep 17 00:00:00 2001 From: Jakub Kadlcik Date: Jan 27 2022 01:40:24 +0000 Subject: Add instructions for building and deploying the package --- diff --git a/.gitignore b/.gitignore index 8e204e0..f429d92 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.src.rpm +*.tar.gz /noarch /copr-frontend-*/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..910d0de --- /dev/null +++ b/README.md @@ -0,0 +1,37 @@ +# Design package for Red Hat Internal Copr frontend + +This repository provides `copr-frontend-redhat` package - a Red Hat's +internal Copr alternative to the default `copr-frontend-fedora`. + + +## Versioning + +The `copr-frontend` package defines an important macro, e.g. + +``` +%global flavor_guard %name-flavor = 5 +``` + +It is bumped every time an incompatible change is made to the upstream +design package. If you are preparing `copr-frontend-redhat` for a +relase, increment its `Version` to match the flavor number. When +making a design change that is unrelated to the upstream, simply +increment the `Release` number. + + +## Build + +```bash +tar -czvf sources.tar.gz sources/ +rpmbuild -bs ./copr-frontend-redhat.spec -D "%_sourcedir ." +``` + + +## Deploy + +To deploy this package on a devel sever, build it to +https://copr.devel.redhat.com/coprs/praiskup/rhcopr-dev + + +For production, build it to +https://copr.devel.redhat.com/coprs/praiskup/rhcopr