summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-08-14 10:12:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-08-14 10:14:03 +0000
commitbcba6e1cc51b7276f771721a71c87130fb19bcb2 (patch)
tree01f868d4c2023d5bb9087553d113f4f6c0f49519
parentManually removing some files that pybuild doesn't clean up during build (Clos... (diff)
downloadsqlglot-bcba6e1cc51b7276f771721a71c87130fb19bcb2.tar.xz
sqlglot-bcba6e1cc51b7276f771721a71c87130fb19bcb2.zip
Removing generated files to fix FTBFS when build twice in a row (Closes: #1045821).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/changelog9
-rwxr-xr-xdebian/rules3
2 files changed, 12 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index aeee08b..ae878e1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+sqlglot (17.12.0-1) sid; urgency=medium
+
+ * Uploading to sid.
+ * Merging upstream version 17.12.0.
+ * Manually removing some files that pybuild doesn't clean up during
+ build (Closes: #1045821).
+
+ -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 14 Aug 2023 12:12:40 +0200
+
sqlglot (17.11.0-1) sid; urgency=medium
* Uploading to sid.
diff --git a/debian/rules b/debian/rules
index cd03edf..a499724 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,5 +9,8 @@ execute_after_dh_auto_clean:
# help pybuild
rm -rf *.egg-info
+ # remove generated files
+ rm -f sqlglot/_version.py
+
override_dh_auto_test:
# disabled