From 7c6623206d13287a378589c43e8f699b12229689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Tue, 3 Jan 2023 08:28:27 +0100 Subject: [PATCH] migrate to use tito as releng tool --- README.md | 12 ++++-------- rpkg.conf | 2 -- 2 files changed, 4 insertions(+), 10 deletions(-) delete mode 100644 rpkg.conf diff --git a/README.md b/README.md index 315300a..b36dd99 100644 --- a/README.md +++ b/README.md @@ -26,22 +26,17 @@ User Guide #### 1. Build and Install the Package: -The project is prepared to be built as an RPM package. You can easily build it on [Fedora](https://getfedora.org/) or [CentOS](https://www.centos.org/) with EPEL7 enabled using a tool called [rpkg](https://pagure.io/rpkg-util). +The project is prepared to be built as an RPM package. You can easily build it on [Fedora](https://getfedora.org/) or [CentOS](https://www.centos.org/) with EPEL7 enabled using a tool called [tito](https://github.com/rpm-software-management/tito). To build the current release, use the following command in the repo directory: ``` -$ mkdir -p /tmp/rpkg/dist-git-build && rpkg srpm --outdir /tmp/rpkg/dist-git-build && rpkg local --outdir /tmp/rpkg/dist-git-build +$ tito build --rpm ``` Install the resulting RPM package: ``` -# dnf install ./noarch/* -``` - -Clean-up: -``` -$ rpkg clean -x +# tito build --rpm -i ``` #### 2. Configuration: @@ -103,6 +98,7 @@ You can see examples of Ansible deployment scripts in ### Related * [Source-git](https://packit.dev/docs/source-git/) - project started in 2020. Intended as layer on top of dist-git. + Developer Guide --------------- diff --git a/rpkg.conf b/rpkg.conf deleted file mode 100644 index 8c0cf34..0000000 --- a/rpkg.conf +++ /dev/null @@ -1,2 +0,0 @@ -[rpkg] -auto_pack = True