devel: require proper version, not just any auto/th/php-pecl-propro-1.0.0-2
authorElan Ruusamäe <glen@delfi.ee>
Tue, 5 May 2015 10:22:00 +0000 (13:22 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 5 May 2015 10:22:00 +0000 (13:22 +0300)
php-pecl-propro.spec

index 90d7eb0c42f88b117f691c24fc38c50b0ecc9292..e17b01632a539e7cf6ca0c26242e1231903afcd8 100644 (file)
@@ -4,7 +4,7 @@
 Summary:       %{modname} - Property proxy
 Name:          %{php_name}-pecl-%{modname}
 Version:       1.0.0
-Release:       1
+Release:       2
 License:       BSD, revised
 Group:         Development/Languages/PHP
 Source0:       http://pecl.php.net/get/%{modname}-%{version}.tgz
@@ -25,7 +25,7 @@ In PECL status of this extension is: %{status}.
 Summary:       Header files for propro PECL extension
 Group:         Development/Libraries
 # does not require base
-Requires:      php-devel >= 4:5.2.0
+Requires:      %{php_name}-devel >= 4:5.2.0
 
 %description devel
 Header files for propro PECL extension.
@@ -50,7 +50,7 @@ cat <<'EOF' > $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d/%{modname}.ini
 extension=%{modname}.so
 EOF
 
-install -D php_propro.h $RPM_BUILD_ROOT%{_includedir}/php/ext/propro/php_propro.h
+install -p -D php_propro.h $RPM_BUILD_ROOT%{_includedir}/php/ext/propro/php_propro.h
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.044682 seconds and 4 git commands to generate.