From 702d308e5871f12115c03326d8dfe917eb01cb4e Mon Sep 17 00:00:00 2001 From: SuperCowProducts <143343957+SuperCowProducts@users.noreply.github.com> Date: Sat, 11 Apr 2026 10:17:23 +0100 Subject: [PATCH 1/3] Update RPM build command to set VERSION variable --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 6d4b2ad..684ce21 100644 --- a/README.rst +++ b/README.rst @@ -355,7 +355,7 @@ tidbits. Build an RPM:: - python setup.py sdist && rpmbuild -ta ./dist/python-tldp-${VERSION}.tar.gz + VERSION=1 python setup.py sdist && rpmbuild -ta ./dist/python-tldp-${VERSION}.tar.gz There's a generated file, `contrib/tldp.spec`, which makes a few changes to the setuptools stock-generated specfile. It adds the dependencies, marks the From b77fdc4a260505c339fa9c4739d21fa7803cc405 Mon Sep 17 00:00:00 2001 From: SuperCowProducts <143343957+SuperCowProducts@users.noreply.github.com> Date: Sat, 11 Apr 2026 10:40:23 +0100 Subject: [PATCH 2/3] Update RPM build command version in README --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 684ce21..1f3e947 100644 --- a/README.rst +++ b/README.rst @@ -355,7 +355,7 @@ tidbits. Build an RPM:: - VERSION=1 python setup.py sdist && rpmbuild -ta ./dist/python-tldp-${VERSION}.tar.gz + VERSION=0.7.15 && python setup.py sdist && rpmbuild -ta ./dist/tldp-${VERSION}.tar.gz There's a generated file, `contrib/tldp.spec`, which makes a few changes to the setuptools stock-generated specfile. It adds the dependencies, marks the From 6b4205de6fbc79ae1e6cd09f68c731241a184ad9 Mon Sep 17 00:00:00 2001 From: SuperCowProducts <143343957+SuperCowProducts@users.noreply.github.com> Date: Sat, 11 Apr 2026 11:14:46 +0100 Subject: [PATCH 3/3] Update RPM build instructions in README Clarify RPM build output directory in README. --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 1f3e947..383fd0d 100644 --- a/README.rst +++ b/README.rst @@ -353,7 +353,7 @@ requires a large number of other packages, most of which are outside of the Python ecosystem. There's room for improvement here, but here are a few tidbits. -Build an RPM:: +Build an RPM (binary is outputted in `$HOME/rpmbuild/RPMS/noarch` directory):: VERSION=0.7.15 && python setup.py sdist && rpmbuild -ta ./dist/tldp-${VERSION}.tar.gz