summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2019-01-22 22:07:57 (GMT)
committerElan Ruusamäe2019-01-22 22:07:57 (GMT)
commitbe336a7a9299e4ad81deaf3622a6644805c629db (patch)
tree9de635a4059dd3133ef885aebbbe7a1d3857639f
parenta33cbb9435a8c1d5aa55dd3f5ccc08113b053a7a (diff)
downloadphp-pear-PEAR-be336a7a9299e4ad81deaf3622a6644805c629db.zip
php-pear-PEAR-be336a7a9299e4ad81deaf3622a6644805c629db.tar.gz
move OS and System to base package to make -core package dependency-lessauto/th/php-pear-PEAR-1.10.6-2
-rw-r--r--php-pear-PEAR.spec8
1 files changed, 3 insertions, 5 deletions
diff --git a/php-pear-PEAR.spec b/php-pear-PEAR.spec
index f638560..7c2597a 100644
--- a/php-pear-PEAR.spec
+++ b/php-pear-PEAR.spec
@@ -13,7 +13,7 @@ Summary: PEAR Base System
Summary(pl.UTF-8): Podstawowy system PEAR
Name: php-pear-%{_pearname}
Version: 1.10.6
-Release: 1
+Release: 2
Epoch: 1
License: New BSD License
Group: Development/Languages/PHP
@@ -98,8 +98,6 @@ Requires: php(core) >= %{php_min_version}
%description core
This package includes PEAR core classes:
- PEAR class and PEAR_Error
-- System
-- OS_Guess
and classes for PHP 5:
- PEAR_ErrorStack and PEAR_Exception
@@ -188,6 +186,8 @@ rm -rf $RPM_BUILD_ROOT
%{php_pear_dir}/pearcmd.php
%{php_pear_dir}/peclcmd.php
%{php_pear_dir}/PEAR/*
+%{php_pear_dir}/OS
+%{php_pear_dir}/System.php
# in -core subpackage
%exclude %{php_pear_dir}/PEAR/ErrorStack.php
@@ -198,8 +198,6 @@ rm -rf $RPM_BUILD_ROOT
%files core
%defattr(644,root,root,755)
%{php_pear_dir}/PEAR.php
-%{php_pear_dir}/System.php
-%{php_pear_dir}/OS
%dir %{php_pear_dir}/PEAR
%{php_pear_dir}/PEAR/ErrorStack.php
%{php_pear_dir}/PEAR/Exception.php