[php-ezc-DatabaseSchema] Fix metadata location, FTBFS #91433

Guillaume Kulakowski llaumgui at fedoraproject.org
Mon Apr 1 19:06:02 UTC 2013


commit a854dabcd43b70e2df086e3997fbfc417b2e71b2
Author: Guillaume Kulakowski <guillaume at llaumgui.com>
Date:   Mon Apr 1 21:05:32 2013 +0200

    Fix metadata location, FTBFS #91433

 php-ezc-DatabaseSchema.spec |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/php-ezc-DatabaseSchema.spec b/php-ezc-DatabaseSchema.spec
index e58f706..e2731bc 100644
--- a/php-ezc-DatabaseSchema.spec
+++ b/php-ezc-DatabaseSchema.spec
@@ -5,7 +5,7 @@
 
 Name:           php-ezc-DatabaseSchema
 Version:        1.4.4
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        A set of classes that allow you to use information from a database schema
 
 Group:          Development/Libraries
@@ -41,7 +41,7 @@ and then extract the data from it.
 %prep
 %setup -q -c
 [ -f package2.xml ] || mv package.xml package2.xml
-%{__mv} package2.xml %{pear_name}-%{version}/%{name}.xml
+mv package2.xml %{pear_name}-%{version}/%{name}.xml
 cd %{pear_name}-%{version}
 
 # This are really doc, not data, not used in the code
@@ -56,19 +56,19 @@ cd %{pear_name}-%{version}
 
 %install
 cd %{pear_name}-%{version}
-%{__rm} -rf %{buildroot}
+rm -rf %{buildroot}
 %{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
 
 # Clean up unnecessary files
-%{__rm} -rf %{buildroot}%{pear_phpdir}/.??*
+rm -rf %{buildroot}%{pear_metadir}/.??*
 
 # Install XML package description
-%{__mkdir} -p %{buildroot}%{pear_xmldir}
-%{__install} -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
+mkdir -p %{buildroot}%{pear_xmldir}
+install -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
 
 
 %clean
-%{__rm} -rf %{buildroot}
+rm -rf %{buildroot}
 
 
 %post
@@ -92,6 +92,9 @@ fi
 
 
 %changelog
+* Mon Apr 01 2013 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 1.4.4-7
+- Fix metadata location, FTBFS #914341
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4.4-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list