control: tags -1 patch

On Sun, 04 Sep 2022 11:44:43 +0200 Evangelos Ribeiro Tzaras
<devrtz-deb...@fortysixandtwo.eu> wrote:
> Source: pygobject
> Version: 3.42.2-2
> Severity: normal
> User: debian...@lists.debian.org
> Usertags: qa-doublebuild
> 
> Hi,
> 
> while playing with the package I've noticed that the package FTBFS if
> build twice in a row with the following error:
> 
> 
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building pygobject using existing
./pygobject_3.42.2.orig.tar.xz

[...]

> dpkg-source: error: unrepresentable changes to source
> dpkg-buildpackage: error: dpkg-source -i -I -b . subprocess returned exit
status 1

I've opened a MR on salsa [0] as well as attaching the patch here
as I'm not sure how you prefer to receive patches

[0] https://salsa.debian.org/gnome-team/pygobject/-/merge_requests/6

-- 
Cheers,

Evangelos
PGP: B938 6554 B7DD 266B CB8E 29A9 90F0 C9B1 8A6B 4A19
From caea89235bb9e851d34047f4b52e4640e287b7fd Mon Sep 17 00:00:00 2001
From: Evangelos Ribeiro Tzaras <devrtz-deb...@fortysixandtwo.eu>
Date: Sun, 4 Sep 2022 11:27:56 +0200
Subject: [PATCH] d/rules: Clean up all build files

we want to have a pristine directory after running
debian/rules clean

This patch gets rid of all the files left behind.

Closes: #1019132
---
 debian/rules | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/debian/rules b/debian/rules
index c2a3ef0a..981f6f0e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -70,3 +70,12 @@ override_dh_makeshlibs:
 
 override_dh_installchangelogs:
 	dh_installchangelogs -XChangeLog
+
+override_dh_clean:
+	dh_clean
+	rm -f config.h
+	rm -f gi/*.so
+	rm -f tests/*.gir
+	rm -f tests/*.typelib
+	rm -f tests/*.so
+	rm -f tests/gschemas.compiled
-- 
2.37.2

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to