This is an automated email from the ASF dual-hosted git repository.
kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/main by this push:
new 8c0c4a8211 GH-49293: [Packaging][deb] Update `debian/watch` for
version 5 (#49294)
8c0c4a8211 is described below
commit 8c0c4a8211d34808f8f8365a2867d2246c427506
Author: Sutou Kouhei <[email protected]>
AuthorDate: Thu Feb 26 17:38:34 2026 +0900
GH-49293: [Packaging][deb] Update `debian/watch` for version 5 (#49294)
### Rationale for this change
The current `debian/watch` may find wrong archive such as `arrow-rs-XXX`.
### What changes are included in this PR?
Use `@ SEMANTIC_VERSION@` and `@ ARCHIVE_EXT@` that can be used with
version 5.
Version 5 is available on all supported Debian and Ubuntu.
### Are these changes tested?
Yes.
`(cd dev/tasks/linux-packages/apache-arrow && uscan --verbose)` finds
https://downloads.apache.org/arrow/arrow-23.0.0/apache-arrow-23.0.0.tar.gz as
the latest version.
### Are there any user-facing changes?
No.
* GitHub Issue: #49293
Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Sutou Kouhei <[email protected]>
---
dev/release/rat_exclude_files.txt | 1 -
.../apache-arrow/debian/upstream/signing-key.asc | 46 ++++++++++++++++++++++
dev/tasks/linux-packages/apache-arrow/debian/watch | 22 ++++++++++-
3 files changed, 66 insertions(+), 3 deletions(-)
diff --git a/dev/release/rat_exclude_files.txt
b/dev/release/rat_exclude_files.txt
index 5bd53436a2..bd685845bc 100644
--- a/dev/release/rat_exclude_files.txt
+++ b/dev/release/rat_exclude_files.txt
@@ -53,7 +53,6 @@ dev/tasks/linux-packages/apache-arrow/debian/patches/series
dev/tasks/linux-packages/apache-arrow/debian/rules
dev/tasks/linux-packages/apache-arrow/debian/shlibs.local
dev/tasks/linux-packages/apache-arrow/debian/source/format
-dev/tasks/linux-packages/apache-arrow/debian/watch
dev/tasks/requirements*.txt
dev/tasks/conda-recipes/*
docs/requirements.txt
diff --git
a/dev/tasks/linux-packages/apache-arrow/debian/upstream/signing-key.asc
b/dev/tasks/linux-packages/apache-arrow/debian/upstream/signing-key.asc
new file mode 100644
index 0000000000..4931bfaa11
--- /dev/null
+++ b/dev/tasks/linux-packages/apache-arrow/debian/upstream/signing-key.asc
@@ -0,0 +1,46 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+mQINBGhReBQBEAC9pWnU0YOMOm2cGaCP4VpQsZ2lWMsnv1UXauRSKyCwtBx8PMPv
+h+jrWGBg55KEdx8BPjf9rPvOSHT+yQwPI9Ckl/No3ySzhxAHhviZGhbfNa/Sui2e
+eWKxU3aszYvdmPxJOmOFFWvUkOGTVf5BXO2OCHi/CDXS6FwxiUr15hQ3TyRLWOFF
+7qMXZ+AY2pc8Yo93D+tg7PYrI22F6iIzoxiQgbv0rjs1qU+rDPGlaVxpDQHnP162
+0cO1tErqyQuL3BZOt8hvg8lUfbuceVA36BKsa2ZCnYHPk93PLthFpKNVR2SyxoA/
+1Qw2YpSQQQMOUqbN0iYdNbrlvoaG3B3PGCeTJIDrmbR/yCGGuZ5dby5BKz8Brt2o
+Rc9orkT+K8R5SoW6Uj/+WMDMjfug/bKTGtsl6ZwkW6JYcggvo1diJfK5V2XTsSFs
+QC0diecE/WLAHNP5XA4NmtJ+NrmWW835wIdZL8V11hr4w3o0XJrdcuCReGfSKTIM
+0z9g8qUdM5N+ujxYO4DdWm9yetZO87T2ia34JMkHP1csoLSeqhLJsflX/Z2ekRy/
+cSc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packages/apache-arrow/debian/watch
b/dev/tasks/linux-packages/apache-arrow/debian/watch
index 5cb3f00915..c306a89e97 100644
--- a/dev/tasks/linux-packages/apache-arrow/debian/watch
+++ b/dev/tasks/linux-packages/apache-arrow/debian/watch
@@ -1,2 +1,20 @@
-version=3
-https://dist.apache.org/repos/dist/release/arrow/arrow-(.+)/apache-arrow-(.+).tar.gz
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+Version: 5
+Pgp-Mode: auto
+Source: https://downloads.apache.org/arrow/arrow@SEMANTIC_VERSION@/
+Matching-Pattern: apache-arrow@SEMANTIC_VERSION@@ARCHIVE_EXT@