Control: tags -1 patch

On Sat, 7 Dec 2024 21:14:24 +0100 Niels Thykier <[email protected]> wrote:
Source: rt-app
Version: 1.0-1
Severity: important
Tags: ftbfs
Justification: FTBFS
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: rrr-no-as-default-issue

Dear maintainer,

During a test rebuild for building packages with
`Rules-Requires-Root: no` as the default in `dpkg`,
rt-app failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]


Hi

Please see attached as a patch.

I intend to NMU to make progress on the MBF if I do not hear from you on this. It would help me if you either uploaded this soon or approved the NMU (enabling me to skip the delay). Thanks in advance.

Best regards,
Niels

diff -Nru rt-app-1.0/debian/changelog rt-app-1.0/debian/changelog
--- rt-app-1.0/debian/changelog 2021-01-01 05:55:59.000000000 +0100
+++ rt-app-1.0/debian/changelog 2025-01-01 16:55:19.000000000 +0100
@@ -1,3 +1,11 @@
+rt-app (1.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove need for root when building the package.
+    (Closes: #1089422)
+
+ -- Niels Thykier <[email protected]>  Wed, 01 Jan 2025 15:55:19 +0000
+
 rt-app (1.0-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru rt-app-1.0/debian/control rt-app-1.0/debian/control
--- rt-app-1.0/debian/control   2021-01-01 05:55:59.000000000 +0100
+++ rt-app-1.0/debian/control   2025-01-01 16:54:14.000000000 +0100
@@ -6,7 +6,7 @@
 Build-Depends: debhelper, debhelper-compat (=12), libjson-c-dev
 Standards-Version: 3.9.8
 Homepage: https://github.com/scheduler-tools/rt-app
-#Rules-Requires-Root: no
+Rules-Requires-Root: no
 
 Package: rt-app
 Architecture: any
diff -Nru rt-app-1.0/debian/rules rt-app-1.0/debian/rules
--- rt-app-1.0/debian/rules     2021-01-01 05:55:59.000000000 +0100
+++ rt-app-1.0/debian/rules     2025-01-01 16:54:07.000000000 +0100
@@ -12,14 +12,14 @@
 #Make only scripts executable - upstream x-bit is a mess in doc dir
 override_dh_install:
        dh_install
-       chmod -R -x  debian/rt-app/usr/share/doc/rt-app/examples/
+       find debian/rt-app/usr/share/doc/rt-app/examples/ -type f -exec chmod 
-x {} +
        find debian/rt-app/usr/share/doc/rt-app/examples -name "*.sh" -print0 | 
xargs -0 chmod +x
        find debian/rt-app/usr/share/doc/ -name "*.py" -print0 | xargs -0 chmod 
+x
        rm  debian/rt-app/usr/share/doc/rt-app/workgen
 
 #Stop it compressing example scripts. Everything is tiny anyway
 override_dh_compress:
-       
+
 
 override_dh_clean:
        rm -rf build-aux m4

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to