rpms/php-idn/EL-5 php-idn.spec,1.6,1.7
Robert Scheck (robert)
fedora-extras-commits at redhat.com
Wed Aug 29 17:55:44 UTC 2007
Author: robert
Update of /cvs/extras/rpms/php-idn/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5401/EL-5
Modified Files:
php-idn.spec
Log Message:
Changed RHEL/EPEL macros slightly
Index: php-idn.spec
===================================================================
RCS file: /cvs/extras/rpms/php-idn/EL-5/php-idn.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- php-idn.spec 29 Aug 2007 12:56:18 -0000 1.6
+++ php-idn.spec 29 Aug 2007 17:55:11 -0000 1.7
@@ -10,7 +10,7 @@
Source1: idn.ini
URL: http://php-idn.bayour.com/
BuildRequires: php-devel >= 4.3.0, libidn-devel >= 0.4.0, autoconf, automake, libtool
-%if "%{?rhel}" >= "5"
+%if 0%{?rhel} >= 5
Requires: php-api = %((echo %{default_apiver}; php -i 2>/dev/null | sed -n 's/^PHP API => //p') | tail -1)
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -40,7 +40,7 @@
%files
%defattr(-,root,root)
%doc CHANGES CREDITS GPL README.documentation THANX_TO idn.php
-%if "%{?rhel}" >= "5"
+%if 0%{?rhel} >= 5
%{_libdir}/php/modules/idn.so
%else
%{_libdir}/php4/idn.so
More information about the fedora-extras-commits
mailing list