[OpenLP/epel7] Make package buildable on RHEL-7.

Matej Cepl mcepl at fedoraproject.org
Mon Feb 2 22:13:04 UTC 2015


commit a04ca2959c4a35362dcad8a5406045ab1dd41581
Author: Matěj Cepl <mcepl at cepl.eu>
Date:   Mon Feb 2 23:12:48 2015 +0100

    Make package buildable on RHEL-7.

 OpenLP.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/OpenLP.spec b/OpenLP.spec
index f2cc8a0..8e8b561 100644
--- a/OpenLP.spec
+++ b/OpenLP.spec
@@ -3,7 +3,7 @@
 Summary: Open source Church presentation and lyrics projection application
 Name: OpenLP
 Version: 2.0.5
-Release: 1%{?dist}
+Release: 2%{?dist}
 Source0: http://downloads.sourceforge.net/openlp/openlp/%{version}/%{name}-%{version}.tar.gz
 License: GPLv2
 Group: Applications/Multimedia
@@ -17,6 +17,9 @@ BuildRequires:  python2-devel
 BuildRequires:  python-setuptools
 
 Requires:       PyQt4
+%if 0%{?rhel} <= 7
+Requires:       PyQt4-webkit
+%endif
 Requires:       phonon
 Requires:       python-BeautifulSoup
 Requires:       python-chardet
@@ -96,6 +99,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Mon Feb 02 2015 Matej Cepl <mcepl at redhat.com> - 2.0.5-2
+- Make package buildable on RHEL-7.
+
 * Fri Jun 27 2014 Tim Bentley Tim.Bentley at openlp.org - 2.0.5-1
 - 2.0.5 final release
 


More information about the scm-commits mailing list