Package: symfony
Version: 2.8.7+dfsg-1
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu yakkety ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:
  * d: add nocheck and stage1 build profiles (LP #1544279).
  * d/control: add php-symfony-security-acl to the stage1 build, as it
    depends on php-symfony-security-core from this source package.

Thanks for considering the patch.


-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 
'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0-24-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru symfony-2.8.7+dfsg/debian/control symfony-2.8.7+dfsg/debian/control
--- symfony-2.8.7+dfsg/debian/control	2016-06-07 17:37:09.000000000 -0700
+++ symfony-2.8.7+dfsg/debian/control	2016-06-16 13:59:16.000000000 -0700
@@ -13,9 +13,9 @@
                      locales-all,
                      parallel,
                      php-apcu-bc,
-                     php-doctrine-bundle (>= 1.5),
-                     php-doctrine-data-fixtures (>= 1.1.1-2~),
-                     php-doctrine-orm (>= 2.4.8),
+                     php-doctrine-bundle (>= 1.5) <!stage1>,
+                     php-doctrine-data-fixtures (>= 1.1.1-2~) <!stage1>,
+                     php-doctrine-orm (>= 2.4.8) <!stage1>,
                      php-email-validator (>= 1.2.8),
                      php-intl,
                      php-ldap,
@@ -35,10 +35,10 @@
                      php-symfony-polyfill-php56,
                      php-symfony-polyfill-php70,
                      php-symfony-polyfill-util,
-                     php-symfony-security-acl,
+                     php-symfony-security-acl <!stage1>,
                      php-twig (>= 1.23),
                      phpab,
-                     phpunit (>= 5)
+                     phpunit (>= 5) <!nocheck !stage1>
 Build-Conflicts: php-mongo
 Homepage: https://symfony.com/
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-php/symfony.git
@@ -735,6 +735,7 @@
 Breaks: ${phpcomposer:Debian-conflict},
         ${phpcomposer:Debian-replace}
 Provides: ${phpcomposer:Debian-provide}
+Build-Profiles: <!stage1>
 Description: integration for Doctrine with Symfony Components
  The ${phpcomposer:description} integrates the Doctrine Project
  with various Symfony Components.
@@ -771,6 +772,7 @@
 Breaks: ${phpcomposer:Debian-conflict},
         ${phpcomposer:Debian-replace}
 Provides: ${phpcomposer:Debian-provide}
+Build-Profiles: <!stage1>
 Description: integration for PHPUnit with Symfony Components
  The ${phpcomposer:description} integrates PHPUnit with various
  Symfony Components.
diff -Nru symfony-2.8.7+dfsg/debian/rules symfony-2.8.7+dfsg/debian/rules
--- symfony-2.8.7+dfsg/debian/rules	2016-06-07 17:37:09.000000000 -0700
+++ symfony-2.8.7+dfsg/debian/rules	2016-06-16 11:47:05.000000000 -0700
@@ -68,7 +68,7 @@
 
 
 override_dh_auto_test:
-ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
+ifeq (,$(filter nocheck stage1, $(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
 	ln -s ./src/Symfony ./Symfony
 	mkdir --parents vendor
 	ln -s ../debian/autoload.build.php ./vendor/autoload.php

Reply via email to