Le Thu, Feb 29, 2024 at 03:06:35PM +0100, David Prévot a écrit :
>   [x] attach debdiff against the package in (old)stable

One more time…
diff -Nru php-doctrine-annotations-1.11.2/debian/autoload.php.tpl php-doctrine-annotations-1.11.2/debian/autoload.php.tpl
--- php-doctrine-annotations-1.11.2/debian/autoload.php.tpl	2020-11-26 19:54:10.000000000 +0100
+++ php-doctrine-annotations-1.11.2/debian/autoload.php.tpl	2024-02-18 12:30:56.000000000 +0100
@@ -1,6 +1,6 @@
 <?php
 
-require_once 'Doctrine/Common/Lexer/autoload.php';
+require_once __DIR__ . '/../Lexer/autoload.php';
 
 // @codingStandardsIgnoreFile
 // @codeCoverageIgnoreStart
diff -Nru php-doctrine-annotations-1.11.2/debian/changelog php-doctrine-annotations-1.11.2/debian/changelog
--- php-doctrine-annotations-1.11.2/debian/changelog	2021-02-20 14:32:38.000000000 +0100
+++ php-doctrine-annotations-1.11.2/debian/changelog	2024-02-18 12:32:47.000000000 +0100
@@ -1,3 +1,10 @@
+php-doctrine-annotations (1.11.2-1+deb11u1) bullseye; urgency=medium
+
+  * Track debian/bullseye
+  * Force system dependencies loading
+
+ -- David Prévot <taf...@debian.org>  Sun, 18 Feb 2024 12:32:47 +0100
+
 php-doctrine-annotations (1.11.2-1) unstable; urgency=medium
 
   [ Grégoire Paris ]
diff -Nru php-doctrine-annotations-1.11.2/debian/clean php-doctrine-annotations-1.11.2/debian/clean
--- php-doctrine-annotations-1.11.2/debian/clean	2020-11-26 19:54:10.000000000 +0100
+++ php-doctrine-annotations-1.11.2/debian/clean	2024-02-18 12:31:13.000000000 +0100
@@ -1,3 +1,7 @@
 .phpunit.result.cache
 lib/Doctrine/Common/Annotations/autoload.php
+lib/Doctrine/Common/Cache
+lib/Doctrine/Common/Lexer
+lib/Psr
+lib/Symfony
 vendor/
diff -Nru php-doctrine-annotations-1.11.2/debian/control php-doctrine-annotations-1.11.2/debian/control
--- php-doctrine-annotations-1.11.2/debian/control	2021-02-20 14:32:25.000000000 +0100
+++ php-doctrine-annotations-1.11.2/debian/control	2024-02-18 12:29:35.000000000 +0100
@@ -10,7 +10,7 @@
                phpab,
                phpunit
 Standards-Version: 4.5.1
-Vcs-Git: https://salsa.debian.org/php-team/pear/php-doctrine-annotations.git -b debian/latest
+Vcs-Git: https://salsa.debian.org/php-team/pear/php-doctrine-annotations.git -b debian/bullseye
 Vcs-Browser: https://salsa.debian.org/php-team/pear/php-doctrine-annotations
 Homepage: https://www.doctrine-project.org/projects/annotations.html
 Rules-Requires-Root: no
diff -Nru php-doctrine-annotations-1.11.2/debian/gbp.conf php-doctrine-annotations-1.11.2/debian/gbp.conf
--- php-doctrine-annotations-1.11.2/debian/gbp.conf	2021-02-20 14:25:27.000000000 +0100
+++ php-doctrine-annotations-1.11.2/debian/gbp.conf	2024-02-18 12:29:42.000000000 +0100
@@ -1,5 +1,5 @@
 [DEFAULT]
-debian-branch = debian/latest
+debian-branch = debian/bullseye
 filter = [ '.gitattributes' ]
 pristine-tar = True
 upstream-vcs-tag = %(version%~%-)s
diff -Nru php-doctrine-annotations-1.11.2/debian/rules php-doctrine-annotations-1.11.2/debian/rules
--- php-doctrine-annotations-1.11.2/debian/rules	2021-02-20 14:32:22.000000000 +0100
+++ php-doctrine-annotations-1.11.2/debian/rules	2024-02-18 12:31:33.000000000 +0100
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@
+	dh $@ -XCommon/Cache -XCommon/Lexer -Xlib/Psr -XSymfony
 
 override_dh_auto_build:
 	phpab \
@@ -9,6 +9,10 @@
 		--template debian/autoload.php.tpl \
 		lib/Doctrine/Common/Annotations
 	mkdir --parents vendor
+	ln -s /usr/share/php/Doctrine/Common/Cache lib/Doctrine/Common
+	ln -s /usr/share/php/Doctrine/Common/Lexer lib/Doctrine/Common
+	ln -s /usr/share/php/Psr lib
+	ln -s /usr/share/php/Symfony lib
 	phpab \
 		--output vendor/autoload.php \
 		--template debian/autoload.tests.php.tpl \

Attachment: signature.asc
Description: PGP signature

Reply via email to