[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-extras-commits
Subject:    raphgro pushed to krop (f24).  "Merge branch 'master' into f22"
From:       notifications () fedoraproject ! org
Date:       2016-08-31 20:32:25
Message-ID: 20160831203225.B5DBA60876A5 () bastion01 ! phx2 ! fedoraproject ! org
[Download RAW message or body]

From 7d4369dea598d6f4527e4be6149addb1d31b907b Mon Sep 17 00:00:00 2001
From: Dennis Gilmore <dennis@ausil.us>
Date: Thu, 4 Feb 2016 02:26:03 +0000
Subject: - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

---
 krop.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/krop.spec b/krop.spec
index 2d3b46e..c5f8942 100644
--- a/krop.spec
+++ b/krop.spec
@@ -12,7 +12,7 @@
 
 Name:           krop
 Version:        0.4.8
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Tool to crop PDF files with an eye towards eReaders
 License:        GPLv3+
 URL:            http://arminstraub.com/software/krop
@@ -70,6 +70,9 @@ update-desktop-database &> /dev/null || :
 %{python2_sitelib}/%{name}/
 
 %changelog
+* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
 * Thu Jul 16 2015 Christopher Meng <rpm@cicku.me> - 0.4.8-1
 - Update to 0.4.8
 
-- 
cgit v0.12


From 87bd241d889b3399474a53f15163895e9486e82b Mon Sep 17 00:00:00 2001
From: Raphael Groner <projects.rg@smart.ms>
Date: Fri, 25 Mar 2016 13:05:47 +0100
Subject: v0.4.9, rhbz#1276890

---
 krop.spec | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/krop.spec b/krop.spec
index c5f8942..9321e9c 100644
--- a/krop.spec
+++ b/krop.spec
@@ -11,8 +11,8 @@
 %endif
 
 Name:           krop
-Version:        0.4.8
-Release:        2%{?dist}
+Version:        0.4.9
+Release:        1%{?dist}
 Summary:        Tool to crop PDF files with an eye towards eReaders
 License:        GPLv3+
 URL:            http://arminstraub.com/software/krop
@@ -70,6 +70,9 @@ update-desktop-database &> /dev/null || :
 %{python2_sitelib}/%{name}/
 
 %changelog
+* Fri Mar 25 2016 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 0.4.9-1
+- Update to 0.4.9 (#1276890)
+
 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
 
-- 
cgit v0.12


From 2e28250a063812a16f55e0c58a0c2f2d54c5abff Mon Sep 17 00:00:00 2001
From: Raphael Groner <projects.rg@smart.ms>
Date: Fri, 25 Mar 2016 13:34:19 +0100
Subject: port to pyPDF2, python3, qt5

---
 krop.spec | 46 +++++++++++++++++++++++++++++++++++-----------
 1 file changed, 35 insertions(+), 11 deletions(-)

diff --git a/krop.spec b/krop.spec
index 9321e9c..5af7bc5 100644
--- a/krop.spec
+++ b/krop.spec
@@ -6,25 +6,40 @@
 # yum still works, however I'd like to shake it off the memory.
 %if (0%{?fedora} && 0%{?fedora} >= 21) || (0%{?rhel} && 0%{?rhel} >= 8)
 %global pkgmgr  dnf
+%bcond_without  py3
 %else
 %global pkgmgr  yum
+%bcond_with     py3
 %endif
 
 Name:           krop
 Version:        0.4.9
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Tool to crop PDF files with an eye towards eReaders
+
 License:        GPLv3+
 URL:            http://arminstraub.com/software/krop
 Source0:        http://arminstraub.com/downloads/%{name}/%{name}-%{version}.tar.gz
+
 BuildArch:      noarch
 BuildRequires:  desktop-file-utils
 BuildRequires:  libappstream-glib
+
+%if %with py3
+BuildRequires:  python3-devel
+BuildRequires:  python3-setuptools
+
+Requires:       python3-PyPDF2
+Requires:       python3-qt5
+Requires:       python3-poppler-qt5
+%else
 BuildRequires:  python2-devel
 BuildRequires:  python-setuptools
-Requires:       pyPdf
+
+Requires:       python-PyPDF2
 Requires:       PyQt4
 Requires:       python-poppler-qt4
+%endif
 
 %description
 Krop is a simple graphical tool to crop the pages of PDF files. A unique feature
@@ -37,39 +52,48 @@ your eReader does not support convenient scrolling.
 # In terms of OS available on Koji. "of" is needed since Ubuntu appears as font.
 find . -type f -name '*.py' -exec sed -i -e 's/of ubuntu/of %{osname}/Ig' \
 -e 's|apt-get|%{pkgmgr}|g' -e 's|python-pypdf|pyPdf|g' '{}' +
+# remove shebang
+sed -i '1d' %{name}/%{name}.py
 
 %build
-%{__python2} setup.py build
+%py3_build
 
 %install
-%{__python2} setup.py install -O1 --prefix %{_prefix} --skip-build --root %{buildroot}
-
+%py3_install
 desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{name}.desktop
-
-sed -i '1d' %{buildroot}%{python2_sitelib}/%{name}/krop.py
-
 DESTDIR="%{buildroot}" appstream-util install %{name}.appdata.xml
 
 %check
-%{__python2} setup.py check
+%{__python3} setup.py check
 appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*.appdata.xml
 
+
 %post
 update-desktop-database &> /dev/null || :
 
 %postun
 update-desktop-database &> /dev/null || :
 
+
 %files
-%doc ChangeLog README
 %license LICENSE
+%doc ChangeLog README
 %{_bindir}/%{name}
 %{_datadir}/appdata/%{name}.appdata.xml
 %{_datadir}/applications/%{name}.desktop
-%{python2_sitelib}/%{name}-%{version}-py%{python2_version}.egg-info
+%if %with py3
+%{python3_sitelib}/%{name}*.egg-info
+%{python3_sitelib}/%{name}/
+%else
+%{python2_sitelib}/%{name}*.egg-info
 %{python2_sitelib}/%{name}/
+%endif
+
 
 %changelog
+* Fri Mar 25 2016 Raphael Groner <projects.rg@smart.ms> - 0.4.9-2
+- port to PyPDF2, Python3, Qt5
+
 * Fri Mar 25 2016 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 0.4.9-1
 - Update to 0.4.9 (#1276890)
 
-- 
cgit v0.12


From ab2f2485096d3f2500cca4338e5b1e36f4ad0fe9 Mon Sep 17 00:00:00 2001
From: Raphael Groner <projects.rg@smart.ms>
Date: Fri, 25 Mar 2016 13:38:49 +0100
Subject: fix build conditional

---
 krop.spec | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/krop.spec b/krop.spec
index 5af7bc5..a4d52a3 100644
--- a/krop.spec
+++ b/krop.spec
@@ -56,10 +56,18 @@ find . -type f -name '*.py' -exec sed -i -e 's/of ubuntu/of %{osname}/Ig' \
 sed -i '1d' %{name}/%{name}.py
 
 %build
+%if %with py3
 %py3_build
+%else
+%py2_build
+%endif
 
 %install
+%if %with py3
 %py3_install
+%else
+%py2_install
+%endif
 desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{name}.desktop
 DESTDIR="%{buildroot}" appstream-util install %{name}.appdata.xml
 
-- 
cgit v0.12


From 7f999dcfb7f59eb529c4510dd51f72821e08ef73 Mon Sep 17 00:00:00 2001
From: Raphael Groner <projects.rg@smart.ms>
Date: Fri, 25 Mar 2016 13:43:21 +0100
Subject: import new sources

---
 .gitignore | 1 +
 sources    | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 9c89fb0..1196872 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 /krop-0.4.6.tar.gz
 /krop-0.4.7.tar.gz
 /krop-0.4.8.tar.gz
+/krop-0.4.9.tar.gz
diff --git a/sources b/sources
index 2f6148e..257fec4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ed909e3852e6c31bf5c9944b08f33389  krop-0.4.8.tar.gz
+b6d5ee2e2f8886aeb9b530299f5bafd9  krop-0.4.9.tar.gz
-- 
cgit v0.12


From 860c0381a4609ef61fd5ca6a521943bd8d9eae83 Mon Sep 17 00:00:00 2001
From: Raphael Groner <projects.rg@smart.ms>
Date: Fri, 25 Mar 2016 13:52:12 +0100
Subject: fix build conditional, so in check also

---
 krop.spec | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/krop.spec b/krop.spec
index a4d52a3..041cd9d 100644
--- a/krop.spec
+++ b/krop.spec
@@ -72,7 +72,11 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{name}.desktop
 DESTDIR="%{buildroot}" appstream-util install %{name}.appdata.xml
 
 %check
+%if %with py3
 %{__python3} setup.py check
+%else
+%{__python2} setup.py check
+%endif
 appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*.appdata.xml
 
 
-- 
cgit v0.12


From 158f8295e38976d45b85dd3468c61dbfd5b4096f Mon Sep 17 00:00:00 2001
From: Raphael Groner <projects.rg@smart.ms>
Date: Fri, 25 Mar 2016 18:59:15 +0100
Subject: revert to Qt4

---
 krop.spec | 25 +++++++++++--------------
 1 file changed, 11 insertions(+), 14 deletions(-)

diff --git a/krop.spec b/krop.spec
index 041cd9d..c5fb539 100644
--- a/krop.spec
+++ b/krop.spec
@@ -14,7 +14,7 @@
 
 Name:           krop
 Version:        0.4.9
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Tool to crop PDF files with an eye towards eReaders
 
 License:        GPLv3+
@@ -28,18 +28,15 @@ BuildRequires:  libappstream-glib
 %if %with py3
 BuildRequires:  python3-devel
 BuildRequires:  python3-setuptools
-
-Requires:       python3-PyPDF2
-Requires:       python3-qt5
-Requires:       python3-poppler-qt5
+#%%global pyneeds python3-PyPDF2 python3-qt5 python3-poppler-qt5
+%global pyneeds python3-PyPDF2 python3-qt4 python3-poppler-qt4
 %else
 BuildRequires:  python2-devel
 BuildRequires:  python-setuptools
-
-Requires:       python-PyPDF2
-Requires:       PyQt4
-Requires:       python-poppler-qt4
+%global pyneeds python-PyPDF2 PyQt4 python-poppler-qt4
 %endif
+BuildRequires:  %pyneeds
+Requires:       %pyneeds
 
 %description
 Krop is a simple graphical tool to crop the pages of PDF files. A unique feature
@@ -72,11 +69,6 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{name}.desktop
 DESTDIR="%{buildroot}" appstream-util install %{name}.appdata.xml
 
 %check
-%if %with py3
-%{__python3} setup.py check
-%else
-%{__python2} setup.py check
-%endif
 appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*.appdata.xml
 
 
@@ -103,6 +95,11 @@ update-desktop-database &> /dev/null || :
 
 
 %changelog
+* Fri Mar 25 2016 Raphael Groner <projects.rg@smart.ms> - 0.4.9-3
+- revert to Qt4 because python3-poppler-qt5 is not available (yet)
+- refactor python runtime needs
+- simplify check, no tests for python available
+
 * Fri Mar 25 2016 Raphael Groner <projects.rg@smart.ms> - 0.4.9-2
 - port to PyPDF2, Python3, Qt5
 
-- 
cgit v0.12


From 5f7633edf034b2b94ff223c2ea6fea55e6d082bc Mon Sep 17 00:00:00 2001
From: Raphael Groner <projects.rg@smart.ms>
Date: Sun, 24 Apr 2016 17:34:43 +0200
Subject: adjust shebang, rhbz#1321376

---
 krop.spec | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/krop.spec b/krop.spec
index c5fb539..37e75b4 100644
--- a/krop.spec
+++ b/krop.spec
@@ -14,7 +14,7 @@
 
 Name:           krop
 Version:        0.4.9
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Tool to crop PDF files with an eye towards eReaders
 
 License:        GPLv3+
@@ -49,8 +49,9 @@ your eReader does not support convenient scrolling.
 # In terms of OS available on Koji. "of" is needed since Ubuntu appears as font.
 find . -type f -name '*.py' -exec sed -i -e 's/of ubuntu/of %{osname}/Ig' \
 -e 's|apt-get|%{pkgmgr}|g' -e 's|python-pypdf|pyPdf|g' '{}' +
-# remove shebang
-sed -i '1d' %{name}/%{name}.py
+# adjust shebang
+sed -i -e '/^#!\//, 1d' %{name}/%{name}.py
+sed -i -e '1d;2i#!%{__python3}' bin/%{name}
 
 %build
 %if %with py3
@@ -95,6 +96,9 @@ update-desktop-database &> /dev/null || :
 
 
 %changelog
+* Sun Apr 24 2016 Raphael Groner <projects.rg@smart.ms> - 0.4.9-4
+- replace shebang for python3, rhbz#1321376
+
 * Fri Mar 25 2016 Raphael Groner <projects.rg@smart.ms> - 0.4.9-3
 - revert to Qt4 because python3-poppler-qt5 is not available (yet)
 - refactor python runtime needs
-- 
cgit v0.12


From 56f3da1fead5948e0efca5246c5081f6c0c20544 Mon Sep 17 00:00:00 2001
From: Raphael Groner <projects.rg@smart.ms>
Date: Sun, 24 Apr 2016 18:36:56 +0200
Subject: try again to fix desktop integration, rhbz#1321376

---
 krop.spec | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/krop.spec b/krop.spec
index 37e75b4..2313ccb 100644
--- a/krop.spec
+++ b/krop.spec
@@ -49,9 +49,8 @@ your eReader does not support convenient scrolling.
 # In terms of OS available on Koji. "of" is needed since Ubuntu appears as font.
 find . -type f -name '*.py' -exec sed -i -e 's/of ubuntu/of %{osname}/Ig' \
 -e 's|apt-get|%{pkgmgr}|g' -e 's|python-pypdf|pyPdf|g' '{}' +
-# adjust shebang
-sed -i -e '/^#!\//, 1d' %{name}/%{name}.py
-sed -i -e '1d;2i#!%{__python3}' bin/%{name}
+# remove shebang
+sed -i '1d' %{name}/%{name}.py
 
 %build
 %if %with py3
@@ -68,6 +67,9 @@ sed -i -e '1d;2i#!%{__python3}' bin/%{name}
 %endif
 desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{name}.desktop
 DESTDIR="%{buildroot}" appstream-util install %{name}.appdata.xml
+# ensure working shebang and site-packages, rhbz#1321376
+sed -i -e '1d;2i#!%{__python3}' -e 's|%{name}\.||' %{buildroot}%{_bindir}/%{name}
+
 
 %check
 appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*.appdata.xml
-- 
cgit v0.12


From 2a57ef878c34acc20bb1b5c21d2f96feef3c0d7f Mon Sep 17 00:00:00 2001
From: Raphael Groner <raphro@fedoraproject.org>
Date: Fri, 6 May 2016 19:14:58 +0200
Subject: revert to python2 because source is not compatible with python3,
 rhbz#1321376

---
 krop.spec | 41 ++++++++++++++++++++++++++++++-----------
 1 file changed, 30 insertions(+), 11 deletions(-)

diff --git a/krop.spec b/krop.spec
index 9321e9c..905dc06 100644
--- a/krop.spec
+++ b/krop.spec
@@ -12,19 +12,21 @@
 
 Name:           krop
 Version:        0.4.9
-Release:        1%{?dist}
+Release:        5%{?dist}
 Summary:        Tool to crop PDF files with an eye towards eReaders
 License:        GPLv3+
 URL:            http://arminstraub.com/software/krop
 Source0:        http://arminstraub.com/downloads/%{name}/%{name}-%{version}.tar.gz
+
 BuildArch:      noarch
 BuildRequires:  desktop-file-utils
 BuildRequires:  libappstream-glib
 BuildRequires:  python2-devel
 BuildRequires:  python-setuptools
-Requires:       pyPdf
-Requires:       PyQt4
-Requires:       python-poppler-qt4
+
+%global pyneeds python-PyPDF2 PyQt4 python-poppler-qt4
+BuildRequires:  %pyneeds
+Requires:       %pyneeds
 
 %description
 Krop is a simple graphical tool to crop the pages of PDF files. A unique feature
@@ -32,34 +34,36 @@ of krop is its ability to automatically split pages into subpages to fit the
 limited screen size of devices such as eReaders. This is particularly useful, if
 your eReader does not support convenient scrolling.
 
+
 %prep
 %setup -q
 # In terms of OS available on Koji. "of" is needed since Ubuntu appears as font.
 find . -type f -name '*.py' -exec sed -i -e 's/of ubuntu/of %{osname}/Ig' \
--e 's|apt-get|%{pkgmgr}|g' -e 's|python-pypdf|pyPdf|g' '{}' +
+ -e 's|apt-get|%{pkgmgr}|g' -e 's|python-pypdf|pyPdf|g' '{}' +
+# remove shebang
+sed -i '/^#!\//, 1d' %{name}/%{name}.py
 
 %build
-%{__python2} setup.py build
+%py2_build
 
 %install
-%{__python2} setup.py install -O1 --prefix %{_prefix} --skip-build --root %{buildroot}
-
+%py2_install
 desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{name}.desktop
-
-sed -i '1d' %{buildroot}%{python2_sitelib}/%{name}/krop.py
-
 DESTDIR="%{buildroot}" appstream-util install %{name}.appdata.xml
 
+
 %check
 %{__python2} setup.py check
 appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*.appdata.xml
 
+
 %post
 update-desktop-database &> /dev/null || :
 
 %postun
 update-desktop-database &> /dev/null || :
 
+
 %files
 %doc ChangeLog README
 %license LICENSE
@@ -69,7 +73,22 @@ update-desktop-database &> /dev/null || :
 %{python2_sitelib}/%{name}-%{version}-py%{python2_version}.egg-info
 %{python2_sitelib}/%{name}/
 
+
 %changelog
+* Fri May 06 2016 Raphael Groner <projects.rg@smart.ms> - 0.4.9-5
+- revert to python2 because source is not compatible with python3, rhbz#1321376
+
+* Sun Apr 24 2016 Raphael Groner <projects.rg@smart.ms> - 0.4.9-4
+- replace shebang for python3, rhbz#1321376
+
+* Fri Mar 25 2016 Raphael Groner <projects.rg@smart.ms> - 0.4.9-3
+- revert to Qt4 because python3-poppler-qt5 is not available (yet)
+- refactor python runtime needs
+- simplify check, no tests for python available
+
+* Fri Mar 25 2016 Raphael Groner <projects.rg@smart.ms> - 0.4.9-2
+- port to PyPDF2, Python3, Qt5
+
 * Fri Mar 25 2016 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 0.4.9-1
 - Update to 0.4.9 (#1276890)
 
-- 
cgit v0.12


From 0ed2501ff763e2b9312993a77821efbde1aecb11 Mon Sep 17 00:00:00 2001
From: Raphael Groner <raphro@fedoraproject.org>
Date: Fri, 6 May 2016 19:23:52 +0200
Subject: reimport sources

---
 .gitignore | 1 +
 sources    | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore
index 9c89fb0..1196872 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 /krop-0.4.6.tar.gz
 /krop-0.4.7.tar.gz
 /krop-0.4.8.tar.gz
+/krop-0.4.9.tar.gz
diff --git a/sources b/sources
index 2f6148e..257fec4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ed909e3852e6c31bf5c9944b08f33389  krop-0.4.8.tar.gz
+b6d5ee2e2f8886aeb9b530299f5bafd9  krop-0.4.9.tar.gz
-- 
cgit v0.12


From 4ef99c405521f71d9eeffd7355f238c318aabceb Mon Sep 17 00:00:00 2001
From: Raphael Groner <raphro@fedoraproject.org>
Date: Fri, 6 May 2016 20:09:14 +0200
Subject: R: python2-pyPDF2 (instead of python-pyPDF2)

---
 krop.spec | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/krop.spec b/krop.spec
index 905dc06..072335d 100644
--- a/krop.spec
+++ b/krop.spec
@@ -12,7 +12,7 @@
 
 Name:           krop
 Version:        0.4.9
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Tool to crop PDF files with an eye towards eReaders
 License:        GPLv3+
 URL:            http://arminstraub.com/software/krop
@@ -24,7 +24,7 @@ BuildRequires:  libappstream-glib
 BuildRequires:  python2-devel
 BuildRequires:  python-setuptools
 
-%global pyneeds python-PyPDF2 PyQt4 python-poppler-qt4
+%global pyneeds python2-PyPDF2 PyQt4 python-poppler-qt4
 BuildRequires:  %pyneeds
 Requires:       %pyneeds
 
@@ -75,6 +75,9 @@ update-desktop-database &> /dev/null || :
 
 
 %changelog
+* Fri May 06 2016 Raphael Groner <projects.rg@smart.ms> - 0.4.9-6
+- R: python2-pyPDF2 (instead of python-pyPDF2)
+
 * Fri May 06 2016 Raphael Groner <projects.rg@smart.ms> - 0.4.9-5
 - revert to python2 because source is not compatible with python3, rhbz#1321376
 
-- 
cgit v0.12


From a2e58251ecc6735ebb2521f7a5a76126b562499c Mon Sep 17 00:00:00 2001
From: Raphael Groner <raphro@fedoraproject.org>
Date: Fri, 3 Jun 2016 11:03:16 +0200
Subject: v0.4.10, rhbz#1341376

---
 .gitignore | 1 +
 krop.spec  | 7 +++++--
 sources    | 2 +-
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 1196872..c827f8c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
 /krop-0.4.7.tar.gz
 /krop-0.4.8.tar.gz
 /krop-0.4.9.tar.gz
+/krop-0.4.10.tar.gz
diff --git a/krop.spec b/krop.spec
index 072335d..2dca754 100644
--- a/krop.spec
+++ b/krop.spec
@@ -11,8 +11,8 @@
 %endif
 
 Name:           krop
-Version:        0.4.9
-Release:        6%{?dist}
+Version:        0.4.10
+Release:        1%{?dist}
 Summary:        Tool to crop PDF files with an eye towards eReaders
 License:        GPLv3+
 URL:            http://arminstraub.com/software/krop
@@ -75,6 +75,9 @@ update-desktop-database &> /dev/null || :
 
 
 %changelog
+* Fri Jun 03 2016 Raphael Groner <projects.rg@smart.ms> - 0.4.10-1
+- new version
+
 * Fri May 06 2016 Raphael Groner <projects.rg@smart.ms> - 0.4.9-6
 - R: python2-pyPDF2 (instead of python-pyPDF2)
 
diff --git a/sources b/sources
index 257fec4..1e28d50 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b6d5ee2e2f8886aeb9b530299f5bafd9  krop-0.4.9.tar.gz
+4f03ad32e84c3788d0ab23eebf4a5a35  krop-0.4.10.tar.gz
-- 
cgit v0.12


From 196ba77969a3de1d740d9a8f3b5e5c9ea32e2aff Mon Sep 17 00:00:00 2001
From: Raphael Groner <raphro@fedoraproject.org>
Date: Fri, 3 Jun 2016 11:44:19 +0200
Subject: add build conditional

---
 krop.spec | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/krop.spec b/krop.spec
index 2dca754..b67d1d6 100644
--- a/krop.spec
+++ b/krop.spec
@@ -24,7 +24,11 @@ BuildRequires:  libappstream-glib
 BuildRequires:  python2-devel
 BuildRequires:  python-setuptools
 
+%if 0%{?fedora} >= 24
 %global pyneeds python2-PyPDF2 PyQt4 python-poppler-qt4
+%else
+%global pyneeds python-PyPDF2 PyQt4 python-poppler-qt4
+%endif
 BuildRequires:  %pyneeds
 Requires:       %pyneeds
 
-- 
cgit v0.12


	http://pkgs.fedoraproject.org/cgit/krop.git/commit/?h=f24&id=68713f0e00f747ebe4eaf3ab81f719d80162e6ec
--
scm-commits mailing list
scm-commits@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/scm-commits@lists.fedoraproject.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic