Tested for srpm build

This commit is contained in:
tim holloway 2026-08-23 17:09:28 -04:00
parent 63a005629a
commit 798e87427b
3 changed files with 8 additions and 4 deletions

View File

@ -2,3 +2,7 @@
This project contains ready-to-install TaskWarrior RPMs as well as the This project contains ready-to-install TaskWarrior RPMs as well as the
resources to build TaskWarrior from scratch. resources to build TaskWarrior from scratch.
**Note** To ensure that all necessart tools are installed before building,
whether via the builders or the srpm, run the ``builders/setupbuil.sh``
script before the first build.

View File

@ -19,13 +19,13 @@ Both of these issues are resolved in the brute_build script.
The "brute_build" file is a shell script that builds and installs by brute The "brute_build" file is a shell script that builds and installs by brute
force. If you have trouble building the RPM, use it. force. If you have trouble building the RPM, use it.
Obsolete **Note** that the RPM uses **Note** that the RPM uses
an explicit file list and rpmbuild will complain if you build a release that an explicit file list and rpmbuild will complain if you build a release that
adds or removes files from this list. In that case, just edit the ``%files`` adds or removes files from this list. In that case, just edit the ``%files``
section of the RPM spec file. Case in point: bash completions are not present section of the RPM spec file. Case in point: bash completions are not present
in the 3.5.0 build but present in the current devel build. in the 3.5.0 build but present in the current devel build.
The ``makebuilder`` script witll setup for rpmbuild. It downloads the source The ``makebuilder`` script will setup for rpmbuild. It downloads the source
code to the rpmbuild SOURCES directory and creates a custom spec file in the code to the rpmbuild SOURCES directory and creates a custom spec file in the
SPECS directory. Select the version of TaskWarrior you want to build by SPECS directory. Select the version of TaskWarrior you want to build by
editng the version variable in ``makebuilder``. By default the RPM will build editng the version variable in ``makebuilder``. By default the RPM will build

2
builders/setupbuild.sh Normal file → Executable file
View File

@ -12,4 +12,4 @@ dnf -y install epel-release
dnf -y install fish dnf -y install fish
sudo dnf -y groupinstall "Development Tools" sudo dnf -y groupinstall "Development Tools"
sudo dnf -y install cmake gnutls-devel libuuid-devel sudo dnf -y install cmake gnutls-devel libuuid-devel
sudo dnf -y rpm-build sudo dnf -y install rpm-build