[kmag] add fedora condition

Than Ngo than at fedoraproject.org
Wed May 22 12:44:26 UTC 2013


commit c44f0caea1be6e9b8308d67248a21e2c22ff02a9
Author: Than Ngo <than at redhat.com>
Date:   Wed May 22 14:43:58 2013 +0200

    add fedora condition

 kmag.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/kmag.spec b/kmag.spec
index 31294fa..609b7a0 100644
--- a/kmag.spec
+++ b/kmag.spec
@@ -1,6 +1,6 @@
 Name:    kmag
 Version: 4.10.3
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: A screen magnifier
 
 # kmagzoomview.h is only GPLv2 but I expect it's mistake as .cpp is GPLv2+, 
@@ -17,8 +17,9 @@ Source0: http://download.kde.org/%{stable}/%{version}/src/%{name}-%{version}.tar
 
 BuildRequires: desktop-file-utils
 BuildRequires: kdelibs4-devel >= %{version}
+%if 0%{?fedora}
 BuildRequires: qaccessibilityclient-devel
-
+%endif
 # DBus runtime service
 Requires: kaccessible%{?_isa} >= %{version}
 
@@ -74,6 +75,9 @@ gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null || :
 
 
 %changelog
+* Wed May 22 2013 Than Ngo <than at redhat.com> - 4.10.3-2
+- add fedora condition
+
 * Mon May 06 2013 Than Ngo <than at redhat.com> - 4.10.3-1
 - 4.10.3
 


More information about the scm-commits mailing list