commit 22c0d12bf9bb5e38a2af710ae5db41f9d645a287
Author: Elan Ruusamäe <g...@pld-linux.org>
Date:   Sun Feb 4 15:45:31 2018 +0200

    skip pyqt5, pld package doesn't provide egg-info

 egginfo.patch      | 10 ++++++++++
 subdownloader.spec |  6 ++++--
 2 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/subdownloader.spec b/subdownloader.spec
index 16d83cf..e674520 100644
--- a/subdownloader.spec
+++ b/subdownloader.spec
@@ -5,7 +5,7 @@ Summary:        Fast and Easy Subtitle Downloader
 Summary(pl.UTF-8):     Narzędzie do automatycznego ściągania/wysyłania 
podpisów do plików wideo
 Name:          subdownloader
 Version:       2.0.19
-Release:       0.3
+Release:       0.4
 License:       GPL v3
 Group:         X11/Applications/Multimedia
 #Source0:      
https://launchpad.net/subdownloader/trunk/%{version}/+download/%{name}_%{version}.orig.tar.gz
@@ -18,6 +18,7 @@ Source3:      %{name}.sh
 # site down, and was not in distfiles
 #Source:       http://starowa.one.pl/~uzi/pld/%{name}-locale-pl.tar.gz
 Patch0:                always-en.patch
+Patch1:                egginfo.patch
 URL:           http://www.subdownloader.net/
 BuildRequires: python3 >= 1:3.4
 BuildRequires: python3-PyQt5
@@ -27,7 +28,7 @@ BuildRequires:        rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.714
 Requires:      desktop-file-utils
 #Requires:     python-mmpython
-Requires:      python3-PyQt5
+Requires:      python3-PyQt5 >= 5.0.0
 Requires:      python3-pymediainfo
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -63,6 +64,7 @@ Cechy:
 %setup -qc
 mv subdownloader-%{commit}*/* .
 #%patch0 -p1
+%patch1 -p1
 
 #tar xzf %{SOURCE3}
 
diff --git a/egginfo.patch b/egginfo.patch
new file mode 100644
index 0000000..91aeb37
--- /dev/null
+++ b/egginfo.patch
@@ -0,0 +1,10 @@
+--- subdownloader-2.0.19/setup.py~     2017-08-10 16:14:53.000000000 +0300
++++ subdownloader-2.0.19/setup.py      2018-02-04 14:59:47.518401343 +0200
+@@ -19,7 +19,6 @@
+     "argparse >= 1.3.0",
+     "argcomplete >= 1.7.0",
+     "langdetect >= 1.0.7",
+-    "pyqt5 >= 5.0.0",
+     "pymediainfo >= 2.1.6",
+ ]
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/subdownloader.git/commitdiff/097d6df5c473faca8a651516f0d5c33f329d6272

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to