This is a COPR repository for the Network UPS Tools (NUT) trunk builds.
The packages are built in the karellen/nut-next
COPR project from the NUT master branch.
dnf copr enable karellen/nut-next
dnf install nut-next nut-next-client --allowerasing
Each nut-next package conflicts with and provides the corresponding distribution nut package (nut,
nut-client, nut-cgi, nut-xml, nut-devel and, on Fedora only, nut-monitor), so it replaces it. On EL the
dependencies come from EPEL, which must be enabled.
- The
nutdirectory is a git submodule tracking upstreammaster. - Every 6 hours the update workflow checks upstream for new commits. When there are
any it bumps the submodule, regenerates
VERSION_DEFAULT(the upstreamtools/gitlog2version.shoutput, so that the build knows the git revision without a git checkout), and runstito tagfollowed bygit push --follow-tags. - COPR rebuilds the package from the pushed tag, producing the SRPM with tito.
- The package version is NUT's own development version,
<last release>.<commits since that release>, e.g.2.8.5.1602.
The packaging is the Fedora nut dist-git packaging, adapted to build from the upstream trunk. This repository shares its git history with the Fedora dist-git repository and is periodically synchronized with it by merging the Fedora branch.
Differences from Fedora:
- Fedora's backport patches and patches that upstream has since absorbed are not carried; the remaining patches
(
rmpidf,rhinoname) are rebased onto the trunk. - The build runs upstream
autogen.shand builds the man pages, which a git checkout does not ship pre-generated. - The same spec also builds for EL8, EL9 and EL10 with EPEL. There the NUT-Monitor GUI (
nut-next-monitor) is not built, as EL does not providepython3-pyqt6; EL8 also lacks the I2C drivers (nolibi2c-devel); and thenutuser is created in%pre, because rpm on EL does not create sysusers.d users before installing files.