[libvirt-php 1/2] spec file cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Lyre <4179e1@xxxxxxxxx>

* libvirt-php.spec: removed unnecessary macro 0{%sles_version}
---
 libvirt-php.spec |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/libvirt-php.spec b/libvirt-php.spec
index 2c6292e..51a9add 100644
--- a/libvirt-php.spec
+++ b/libvirt-php.spec
@@ -1,6 +1,6 @@
 %define		req_libvirt_version 0.6.2
 
-%if 0%{?suse_version} || 0%{?sles_version}
+%if 0%{?suse_version} 
 %define		php_confdir %{_sysconfdir}/php5/conf.d
 %define		php_extdir 	%{_libdir}/php5/extensions
 %else
@@ -13,7 +13,7 @@ Version:	0.4
 Release:	1%{?dist}%{?extra_release}
 Summary:	PHP language binding for Libvirt
 
-%if 0%{?suse_version} || 0%{?sles_version} 
+%if 0%{?suse_version}  
 Group:		Development/Libraries/PHP
 %else
 Group:		Development/Libraries
@@ -26,13 +26,13 @@ BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires:	php-devel
 BuildRequires:	libvirt-devel >= %{req_libvirt_version}
 BuildRequires:	libxml2-devel
-%if 0%{?suse_version} || 0%{?sles_version} 
+%if 0%{?suse_version}  
 BuildRequires:	xhtml-dtd
 %else
 BuildRequires:	xhtml1-dtds
 %endif
 Requires:	libvirt >= %{req_libvirt_version}
-%if 0%{?suse_version} || 0%{?sles_version} 
+%if 0%{?suse_version}  
 Requires:	php5
 %else
 Requires:	php
-- 
1.7.1


--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]