diff options
author | Remi Collet <remi@remirepo.net> | 2020-01-17 16:19:43 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-01-17 16:19:43 +0100 |
commit | 72394b9624280882926a33d104006f1c4b2b6b9d (patch) | |
tree | 68628cafd389a6654e9a241d9b7c8778410b3300 | |
parent | da4a6146ec4171b8edc46121824a2bc87c603d79 (diff) |
cleanup
-rw-r--r-- | php-laminas-barcode.spec | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/php-laminas-barcode.spec b/php-laminas-barcode.spec index e9e7e62..089b2b0 100644 --- a/php-laminas-barcode.spec +++ b/php-laminas-barcode.spec @@ -23,7 +23,7 @@ Name: php-%{gh_project} Version: 2.8.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: %{namespace} Framework %{library} component License: BSD @@ -173,7 +173,10 @@ cat << 'EOF' | tee vendor/autoload.php <?php require_once '%{buildroot}%{php_home}/%{namespace}/%{library}/autoload.php'; \Fedora\Autoloader\Dependencies::required([ - '%{php_home}/%{namespace}/Config/autoload.php', + [ + '%{php_home}/%{namespace}/Config3/autoload.php', + '%{php_home}/%{namespace}/Config/autoload.php', + ], ]); \Fedora\Autoloader\Autoload::addPsr4('%{namespace}Test\\%{library}\\', dirname(__DIR__) . '/test'); EOF @@ -181,7 +184,7 @@ EOF : check compat autoloader php -r ' require "%{buildroot}%{php_home}/Zend/%{library}/autoload.php"; -return (class_exists("\\Zend\\%{library}\\Message") ? 0 : 1); +exit (class_exists("\\Zend\\%{library}\\Barcode") ? 0 : 1); ' : upstream test suite @@ -210,6 +213,9 @@ exit $ret %changelog +* Fri Jan 17 2020 Remi Collet <remi@remirepo.net> - 2.8.0-2 +- cleanup + * Fri Jan 10 2020 Remi Collet <remi@remirepo.net> - 2.8.0-1 - switch to Laminas |