diff -pruN 0.5-1/.gitignore 0.5-2/.gitignore
--- 0.5-1/.gitignore	1970-01-01 00:00:00.000000000 +0000
+++ 0.5-2/.gitignore	2025-08-17 15:06:05.000000000 +0000
@@ -0,0 +1,32 @@
+.deps
+aclocal.m4
+autom4te.cache
+compile
+depcomp
+install-sh
+libtool
+ltmain.sh
+missing
+mkinstalldirs
+config.guess
+config.h
+config.h.in
+config.log
+config.status
+config.sub
+configure
+configure.lineno
+.deps
+.dirstamp
+.libs
+*.lo
+*.loT
+*.la
+Makefile
+Makefile.in
+stamp-h1
+*.o
+*.pc
+*.tar.bz2
+*.tar.gz
+stubs.c
diff -pruN 0.5-1/debian/changelog 0.5-2/debian/changelog
--- 0.5-1/debian/changelog	2025-08-17 15:06:06.000000000 +0000
+++ 0.5-2/debian/changelog	2025-08-17 15:06:05.000000000 +0000
@@ -1,3 +1,12 @@
+libpthread-stubs (0.5-2) unstable; urgency=medium
+
+  * Team upload.
+  * debian/copyright: Convert to machine-readable format
+  * Don't generate debian/copyright
+  * d/control: add Homepage
+
+ -- Dylan Aïssi <daissi@debian.org>  Sun, 17 Aug 2025 15:19:47 +0200
+
 libpthread-stubs (0.5-1) unstable; urgency=medium
 
   [ Debian Janitor ]
diff -pruN 0.5-1/debian/clean 0.5-2/debian/clean
--- 0.5-1/debian/clean	2025-08-17 15:06:06.000000000 +0000
+++ 0.5-2/debian/clean	2025-08-17 15:06:05.000000000 +0000
@@ -1,2 +1 @@
-debian/copyright
 debian/libpthread-stubs.so
diff -pruN 0.5-1/debian/control 0.5-2/debian/control
--- 0.5-1/debian/control	2025-08-17 15:06:06.000000000 +0000
+++ 0.5-2/debian/control	2025-08-17 15:06:05.000000000 +0000
@@ -6,6 +6,7 @@ Build-Depends: debhelper-compat (= 13)
 Standards-Version: 4.6.2
 Vcs-Git: https://salsa.debian.org/xorg-team/lib/libpthread-stubs.git
 Vcs-Browser: https://salsa.debian.org/xorg-team/lib/libpthread-stubs
+Homepage: https://gitlab.freedesktop.org/xorg/lib/pthread-stubs
 
 Package: libpthread-stubs0-dev
 Architecture: any
diff -pruN 0.5-1/debian/copyright 0.5-2/debian/copyright
--- 0.5-1/debian/copyright	1970-01-01 00:00:00.000000000 +0000
+++ 0.5-2/debian/copyright	2025-08-17 15:06:05.000000000 +0000
@@ -0,0 +1,38 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pthread-stubs
+Source: https://gitlab.freedesktop.org/xorg/lib/pthread-stubs
+License: Expat
+
+Files: *
+Copyright: 2007 Jamey Sharp <sharpone@debian.org>
+           2007 Josh Triplett <josh@freedesktop.org>
+           2006 Diego Pettenò
+           Inspired by libX11 code copyright (c) 1995 David E. Wexelblat.
+License: Expat
+
+Files: debian/*
+Copyright: 2006 Jamey Sharp <sharpone@debian.org>
+License: Expat
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ .
+ Except as contained in this notice, the names of the authors or their
+ institutions shall not be used in advertising or otherwise to promote the
+ sale, use or other dealings in this Software without prior written
+ authorization from the authors.
diff -pruN 0.5-1/debian/copyright.debian 0.5-2/debian/copyright.debian
--- 0.5-1/debian/copyright.debian	2025-08-17 15:06:06.000000000 +0000
+++ 0.5-2/debian/copyright.debian	1970-01-01 00:00:00.000000000 +0000
@@ -1,15 +0,0 @@
-This package was debianized by Jamey Sharp <sharpone@debian.org> on
-Fri, 24 Nov 2006 01:01:49 -0800.  The package is co-maintained by the
-XCB developers via the XCB mailing list <xcb@lists.freedesktop.org>.
-
-It was downloaded from https://xcb.freedesktop.org/dist
-
-Upstream Authors: Jamey Sharp <sharpone@debian.org>
-                  Josh Triplett <josh@freedesktop.org>
-
-Copyright:
-   Copyright (C) 2006 Diego Pettenò
-   Inspired by libX11 code copyright (c) 1995 David E. Wexelblat.
-   Copyright (C) 2007 Jamey Sharp <sharpone@debian.org>
-   Copyright (C) 2007 Josh Triplett <josh@freedesktop.org>
-
diff -pruN 0.5-1/debian/rules 0.5-2/debian/rules
--- 0.5-1/debian/rules	2025-08-17 15:06:06.000000000 +0000
+++ 0.5-2/debian/rules	2025-08-17 15:06:05.000000000 +0000
@@ -3,12 +3,9 @@
 %:
 	dh $@ --builddirectory=build
 
-override_dh_auto_configure: debian/copyright
+override_dh_auto_configure:
 	dh_auto_configure --builddirectory=build
 
 override_dh_auto_install:
 	dh_auto_install --builddirectory=build --destdir=debian/tmp
 	find debian/tmp -name '*.la' -delete
-
-debian/copyright: debian/copyright.debian COPYING
-	cat $+ > $@
