[packages/php-pecl-uri_template] cleanups
glen
glen at pld-linux.org
Sun Sep 1 11:40:56 CEST 2013
commit 605b31eac4d61def4e540935ec493ad5ed05b0f8
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Sep 1 12:40:51 2013 +0300
cleanups
php-pecl-uri_template.spec | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/php-pecl-uri_template.spec b/php-pecl-uri_template.spec
index 287cc60..12e767d 100644
--- a/php-pecl-uri_template.spec
+++ b/php-pecl-uri_template.spec
@@ -32,10 +32,6 @@ phpize
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d
-install -d $RPM_BUILD_ROOT{%{php_sysconfdir}/conf.d,%{php_extensiondir}}
-install -d $RPM_BUILD_ROOT{%{php_sysconfdir}/conf.d,%{php_extensiondir},%{_examplesdir}/%{name}-%{version}}
-
%{__make} install \
EXTENSION_DIR=%{php_extensiondir} \
INSTALL_ROOT=$RPM_BUILD_ROOT
@@ -46,6 +42,7 @@ cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{modname}.ini
extension=%{modname}.so
EOF
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-uri_template.git/commitdiff/605b31eac4d61def4e540935ec493ad5ed05b0f8
More information about the pld-cvs-commit
mailing list