Author: glen                         Date: Mon Nov 15 15:39:30 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up 1.2.1

---- Files affected:
packages/php-pear-MIME_Type:
   php-pear-MIME_Type.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: packages/php-pear-MIME_Type/php-pear-MIME_Type.spec
diff -u packages/php-pear-MIME_Type/php-pear-MIME_Type.spec:1.19 
packages/php-pear-MIME_Type/php-pear-MIME_Type.spec:1.20
--- packages/php-pear-MIME_Type/php-pear-MIME_Type.spec:1.19    Sat Aug 21 
21:08:10 2010
+++ packages/php-pear-MIME_Type/php-pear-MIME_Type.spec Mon Nov 15 16:39:25 2010
@@ -1,18 +1,16 @@
 # $Revision$, $Date$
 %include       /usr/lib/rpm/macros.php
-%define                _class          MIME
-%define                _subclass       Type
 %define                _status         stable
-%define                _pearname       %{_class}_%{_subclass}
+%define                _pearname       MIME_Type
 Summary:       %{_pearname} - utility class for dealing with MIME types
 Summary(pl.UTF-8):     %{_pearname} - przydatna klasa do obsługi typów MIME
 Name:          php-pear-%{_pearname}
-Version:       1.2.0
-Release:       2
+Version:       1.2.1
+Release:       1
 License:       PHP 2.02
 Group:         Development/Languages/PHP
 Source0:       http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: 60804ff93624485528db469ee9784c2b
+# Source0-md5: b247a3bcf691d1165523283d5612c1bb
 URL:           http://pear.php.net/package/MIME_Type/
 BuildRequires: php-pear-PEAR >= 1:1.4.0
 BuildRequires: rpm-php-pearprov >= 4.4.2-11
@@ -20,6 +18,7 @@
 Requires:      php-pear
 Requires:      php-pear-PEAR-core >= 1:1.4.0
 Suggests:      php-pear-System_Command
+Obsoletes:     php-pear-MIME_Type-tests
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -50,44 +49,27 @@
 
 Ta klasa ma w PEAR status: %{_status}.
 
-%package tests
-Summary:       Tests for PEAR::%{_pearname}
-Summary(pl.UTF-8):     Testy dla PEAR::%{_pearname}
-Group:         Development/Languages/PHP
-Requires:      %{name} = %{version}-%{release}
-AutoProv:      no
-AutoReq:       no
-
-%description tests
-Tests for PEAR::%{_pearname}.
-
-%description tests -l pl.UTF-8
-Testy dla PEAR::%{_pearname}.
-
 %prep
 %pear_package_setup
 
-mv ./%{php_pear_dir}/docs .
-
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{php_pear_dir}
 %pear_package_install
 
+# tests should not be packaged
+rm -r $RPM_BUILD_ROOT%{php_pear_dir}/tests/%{_pearname}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc install.log optional-packages.txt docs/examples
+%doc install.log optional-packages.txt
 %{php_pear_dir}/.registry/*.reg
-%dir %{php_pear_dir}/%{_class}
-%{php_pear_dir}/%{_class}/*.php
-%{php_pear_dir}/%{_class}/%{_subclass}
-
-%files tests
-%defattr(644,root,root,755)
-%{php_pear_dir}/tests/%{_pearname}
+%dir %{php_pear_dir}/MIME
+%{php_pear_dir}/MIME/Type.php
+%{php_pear_dir}/MIME/Type
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -95,6 +77,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2010/11/15 15:39:25  glen
+- up 1.2.1
+
 Revision 1.19  2010/08/21 19:08:10  glen
 - updated deps with pearize.sh
 - release 2
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-MIME_Type/php-pear-MIME_Type.spec?r1=1.19&r2=1.20&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to