aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2014-03-18 16:57:48 +0100
committerJon Lund Steffensen <jonlst@gmail.com>2014-03-18 16:57:48 +0100
commit3aa48244b35cbd49488fced277bf1159f89168ed (patch)
tree7d910525b067ec8867e3529ecae2bbd068143976
parentHACKING: Remove PYTHONHOME from example (diff)
downloadredshift-ng-3aa48244b35cbd49488fced277bf1159f89168ed.tar.gz
redshift-ng-3aa48244b35cbd49488fced277bf1159f89168ed.tar.bz2
redshift-ng-3aa48244b35cbd49488fced277bf1159f89168ed.tar.xz
Update fedora spec file for Python3 dependency
-rw-r--r--contrib/redshift.spec.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/redshift.spec.in b/contrib/redshift.spec.in
index 0f4b896..406349a 100644
--- a/contrib/redshift.spec.in
+++ b/contrib/redshift.spec.in
@@ -27,10 +27,10 @@ This package provides the base program.
%package -n %{name}-gtk
Summary: GTK integration for Redshift
Group: Applications/System
-BuildRequires: python2
+BuildRequires: python3-devel >= 3.3
BuildRequires: desktop-file-utils
-Requires: pygobject3-base
-Requires: pyxdg
+Requires: python3-gobject
+Requires: python3-pyxdg
Requires: %{name} = %{version}-%{release}
Obsoletes: gtk-redshift < %{version}-%{release}
@@ -72,7 +72,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%files -n %{name}-gtk
%defattr(-,root,root,-)
%{_bindir}/redshift-gtk
-%{python_sitelib}/*
+%{python3_sitelib}/redshift_gtk/
%{_datadir}/icons/hicolor/scalable/apps/redshift*.svg
%{_datadir}/applications/redshift-gtk.desktop