]> git.pld-linux.org Git - packages/php-phpunit-FinderFacade.git/commitdiff
fix autoload for symfony packages auto/th/php-phpunit-FinderFacade-1.1.0-3
authorElan Ruusamäe <glen@delfi.ee>
Wed, 25 Nov 2015 22:29:52 +0000 (00:29 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 25 Nov 2015 22:29:52 +0000 (00:29 +0200)
autoload.patch [new file with mode: 0644]
php-phpunit-FinderFacade.spec

diff --git a/autoload.patch b/autoload.patch
new file mode 100644 (file)
index 0000000..46a23b3
--- /dev/null
@@ -0,0 +1,11 @@
+--- FinderFacade-1.1.0/usr/share/pear/SebastianBergmann/FinderFacade/autoload.php~     2015-11-26 00:26:24.000000000 +0200
++++ FinderFacade-1.1.0/usr/share/pear/SebastianBergmann/FinderFacade/autoload.php      2015-11-26 00:26:47.929100293 +0200
+@@ -41,7 +41,7 @@
+  * @since     File available since Release 1.0.0
+  */
+-require_once 'Symfony/Component/Finder/autoloader.php';
++require_once 'Symfony/Component/Finder/autoload.php';
+ require_once 'TheSeer/fDOMDocument/autoload.php';
+ // @codingStandardsIgnoreFile
index d0445c224ec5c08a9a2ef6a23162d0fd4a5369b4..ce9a8ef5cf0de0710a1bf91513007b9284d47eed 100644 (file)
@@ -4,25 +4,28 @@
 Summary:       Convenience wrapper for Symfony's Finder component
 Name:          php-phpunit-FinderFacade
 Version:       1.1.0
-Release:       2
-License:       The BSD 3-Clause License
+Release:       3
+License:       BSD
 Group:         Development/Languages/PHP
 Source0:       http://pear.phpunit.de/get/%{pearname}-%{version}.tgz
 # Source0-md5: 7e48494599e302d37e97ec5317a85f1f
-URL:           http://pear.phpunit.de/package/FinderFacade/
+Patch0:                autoload.patch
+URL:           https://github.com/sebastianbergmann/finder-facade
 BuildRequires: php-channel(pear.phpunit.de)
 BuildRequires: php-packagexml2cl
-BuildRequires: php-pear-PEAR
 BuildRequires: php-pear-PEAR >= 1:1.9.4
 BuildRequires: rpm-php-pearprov >= 4.4.2-11
+BuildRequires: rpmbuild(macros) >= 1.654
 BuildRequires: rpmbuild(macros) >= 1.610
 Requires:      php-channel(pear.phpunit.de)
 Requires:      php-pear >= 1.3.14-2
-Requires:      php-symfony2-Finder >= 2.2.0
+Requires:      php-symfony2-Finder >= 2.7.7
 Requires:      php-theseer-fDOMDocument >= 1.3.1
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _noautoreq_pear Symfony/Component/.*
+
 %description
 Convenience wrapper for Symfony's Finder component.
 
@@ -30,6 +33,7 @@ In PEAR status of this package is: %{status}.
 
 %prep
 %pear_package_setup
+%patch0 -p1
 
 %build
 packagexml2cl package.xml > ChangeLog
This page took 0.120061 seconds and 4 git commands to generate.