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

Remi Collet remi at fedoraproject.org
Tue Feb 19 14:57:03 UTC 2013


commit b01dccc396ffcf04bf5b51ee61e48cf44811e4ae
Author: Remi Collet <rcollet at redhat.com>
Date:   Tue Feb 19 15:56:56 2013 +0100

    fix metadata location

 php-pear-Structures-DataGrid-DataSource-Array.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/php-pear-Structures-DataGrid-DataSource-Array.spec b/php-pear-Structures-DataGrid-DataSource-Array.spec
index d3be66b..60e42de 100644
--- a/php-pear-Structures-DataGrid-DataSource-Array.spec
+++ b/php-pear-Structures-DataGrid-DataSource-Array.spec
@@ -1,3 +1,4 @@
+%{!?pear_metadir: %global pear_metadir %{pear_phpdir}}
 %{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
 
 %global pear_name Structures_DataGrid_DataSource_Array
@@ -5,7 +6,7 @@
 
 Name:           php-pear-Structures-DataGrid-DataSource-Array
 Version:        0.2.0
-Release:        %{?prever:0.}1%{?prever:.%{prever}}%{?dist}.1
+Release:        %{?prever:0.}2%{?prever:.%{prever}}%{?dist}
 Summary:        DataSource driver using arrays
 
 Group:          Development/Libraries
@@ -48,7 +49,7 @@ cd %{pear_name}-%{version}%{?prever}
 %{__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}
@@ -77,6 +78,9 @@ fi
 
 
 %changelog
+* Tue Feb 19 2013 Remi Collet <remi at fedoraproject.org> - 0.2.0-0.2.dev1
+- fix metadata location
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.0-0.1.dev1.1
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list