summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pear-HTML_Javascript.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/php-pear-HTML_Javascript.spec b/php-pear-HTML_Javascript.spec
index e942060..6ca2988 100644
--- a/php-pear-HTML_Javascript.spec
+++ b/php-pear-HTML_Javascript.spec
@@ -40,7 +40,7 @@ rm -rf $RPM_BUILD_ROOT
cd %{pear_name}-%{version}
%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{pear_name}.xml
-rm -rf $RPM_BUILD_ROOT%{pear_phpdir}/.??*
+rm -rf $RPM_BUILD_ROOT%{pear_metadir}/.??*
mkdir -p $RPM_BUILD_ROOT%{pear_xmldir}
install -pm 644 %{pear_name}.xml $RPM_BUILD_ROOT%{pear_xmldir}