[php-pear-Structures-DataGrid] fix metadata location

Remi Collet remi at fedoraproject.org
Tue Feb 19 15:06:24 UTC 2013


commit c9d55c42e53ed6c30838f54c161d9d489b7375c8
Author: Remi Collet <rcollet at redhat.com>
Date:   Tue Feb 19 16:06:16 2013 +0100

    fix metadata location

 php-pear-Structures-DataGrid.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/php-pear-Structures-DataGrid.spec b/php-pear-Structures-DataGrid.spec
index be638fa..49c29b0 100644
--- a/php-pear-Structures-DataGrid.spec
+++ b/php-pear-Structures-DataGrid.spec
@@ -1,9 +1,10 @@
+%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
 %{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
 %global pear_name Structures_DataGrid
 
 Name:           php-pear-Structures-DataGrid
 Version:        0.9.3
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Tabular structure for converting data
 
 Group:          Development/Libraries
@@ -54,7 +55,7 @@ cd %{pear_name}-%{version}
 %{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{name}.xml
 
 # Clean up unnecessary files
-rm -rf $RPM_BUILD_ROOT%{pear_phpdir}/.??*
+rm -rf $RPM_BUILD_ROOT%{pear_metadir}/.??*
 
 # Install XML package description
 install -d $RPM_BUILD_ROOT%{pear_xmldir}
@@ -87,6 +88,9 @@ fi
 
 
 %changelog
+* Tue Feb 19 2013 Remi Collet <remi at fedoraproject.org> - 0.9.3-4
+- fix metadata location
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.3-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list