Logoj0ke.net Open Build Service > Projects > internetx:php5:extensions > php5-imagick-oldapi > Changes
Sign Up | Log In

Changes of Revision 4

[-] Changed php5-imagick.spec
x
 
1
@@ -5,12 +5,12 @@
2
 Release:   10
3
 License:   PHP
4
 Group:         Productivity/Networking/Web/Servers
5
-BuildRoot:     %{_tmppath}/%{name}-%{version}-build
6
+Summary:   Provides a wrapper to the ImageMagick/GraphicsMagick library.
7
 BuildRequires:     php5-devel ImageMagick-devel 
8
 Requires:  php5 = %{php_version}
9
 URL:       http://pecl.php.net/package/imagick/
10
 Source:    http://pecl.php.net/package/imagick/imagick-%{versio.tgz
11
-Summary:   Provides a wrapper to the ImageMagick/GraphicsMagick library.
12
+BuildRoot:     %{_tmppath}/%{name}-%{version}-build
13
 
14
 %description
15
 
16
@@ -26,13 +26,11 @@
17
 
18
 %setup -n imagick-%{version}
19
 
20
-%{__mkdir} %{name}
21
 
22
 %build
23
 
24
 /usr/bin/phpize
25
 
26
-pushd %{name}
27
 
28
 CFLAGS="%{optflags} -fno-strict-aliasing"
29
 CXXFLAGS="%{optflags} -fno-strict-aliasing"
30
@@ -44,11 +42,10 @@
31
 export CFLAGS
32
 export CXXFLAGS
33
 
34
-../configure --with-imagick=%{_usr} --with-libdir=%{_lib}
35
+%configure --with-imagick=%{_usr} --with-libdir=%{_lib} 
36
 
37
 %{__make} %{?jobs:-j%jobs}
38
 
39
-popd
40
 
41
 %install
42
 %makeinstall -C %{name} INSTALL_ROOT=%{buildroot}
43