summaryrefslogtreecommitdiffstats
path: root/php-pecl-xlswriter.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-xlswriter.spec')
-rw-r--r--php-pecl-xlswriter.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/php-pecl-xlswriter.spec b/php-pecl-xlswriter.spec
index 92c0d50..701100c 100644
--- a/php-pecl-xlswriter.spec
+++ b/php-pecl-xlswriter.spec
@@ -99,11 +99,12 @@ mv %{pecl_name}-%{version} NTS
# Don't install tests
sed -e 's/role="test"/role="src"/' \
%{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \
+ -e '/name="library/d' \
-i package.xml
cd NTS
# we use the system library
-#rm -r library
+rm -r library
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_XLSWRITER_VERSION/{s/.* "//;s/".*$//;p}' php_xls_writer.h)