]> git.pld-linux.org Git - packages/ZendGuardLoader.git/commitdiff
- use x8664 macro
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 11 May 2005 13:17:29 +0000 (13:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ZendGuardLoader.spec -> 1.19

ZendGuardLoader.spec

index 6e6e7581ed044e6ede72f5d23c8f449e87614bbe..b2bd0257aa562bf14b6603a4660037b008ec4b93 100644 (file)
@@ -16,12 +16,13 @@ Source0:    %{name}-%{version}-linux-glibc21-i386.tar.gz
 Source1:       %{name}-%{version}-linux-glibc23-amd64.tar.gz
 # Source1-md5: 1c22955ad63d1c73f969ebd9c4899b7d
 URL:           http://www.zend.com/zend/optimizer.php
 Source1:       %{name}-%{version}-linux-glibc23-amd64.tar.gz
 # Source1-md5: 1c22955ad63d1c73f969ebd9c4899b7d
 URL:           http://www.zend.com/zend/optimizer.php
+BuildRequires: rpmbuild(macros) >= 1.213
 Requires(post):        grep >= 2:2.5.1
 Requires(post):        sed >= 4.0.0
 #Requires(post):       /usr/bin/perl
 # php4 provides php with epoch 0 while php provides php with epoch 3, workaround
 Requires:      php >= 0:4.0.6
 Requires(post):        grep >= 2:2.5.1
 Requires(post):        sed >= 4.0.0
 #Requires(post):       /usr/bin/perl
 # php4 provides php with epoch 0 while php provides php with epoch 3, workaround
 Requires:      php >= 0:4.0.6
-ExclusiveArch: %{ix86} amd64
+ExclusiveArch: %{ix86} %{x8664}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -36,7 +37,7 @@ Zend Optimizer - optymalizator kodu PHP.
 %ifarch %{ix86}
 %{__tar} xfz %{SOURCE0}
 %endif
 %ifarch %{ix86}
 %{__tar} xfz %{SOURCE0}
 %endif
-%ifarch amd64
+%ifarch %{x8664}
 %{__tar} xfz %{SOURCE1}
 %endif
 
 %{__tar} xfz %{SOURCE1}
 %endif
 
@@ -50,7 +51,7 @@ install -d $RPM_BUILD_ROOT%{_libdir}/Zend/lib/Optimizer_TS-%{version}/php-{4.2.x
 cd %{name}-%{version}-linux-glibc21-i386
 %endif
 
 cd %{name}-%{version}-linux-glibc21-i386
 %endif
 
-%ifarch amd64
+%ifarch %{x8664}
 cd %{name}-%{version}-linux-glibc23-amd64
 %endif
 
 cd %{name}-%{version}-linux-glibc23-amd64
 %endif
 
@@ -141,7 +142,7 @@ echo "Remember: Read the %{_docdir}/ZendOptimizer-%{version}/LICENSE !"
 %ifarch %{ix86}
 %doc %{name}-%{version}-linux-glibc21-i386/data/doc %{name}-%{version}-linux-glibc21-i386/LICENSE
 %endif
 %ifarch %{ix86}
 %doc %{name}-%{version}-linux-glibc21-i386/data/doc %{name}-%{version}-linux-glibc21-i386/LICENSE
 %endif
-%ifarch amd64
+%ifarch %{x8664}
 %doc %{name}-%{version}-linux-glibc23-amd64/data/doc %{name}-%{version}-linux-glibc23-amd64/LICENSE
 %endif
 %attr(755,root,root) %{_bindir}/zendid
 %doc %{name}-%{version}-linux-glibc23-amd64/data/doc %{name}-%{version}-linux-glibc23-amd64/LICENSE
 %endif
 %attr(755,root,root) %{_bindir}/zendid
This page took 0.060978 seconds and 4 git commands to generate.