[python-caja] update for rename caja in f21

Wolfgang Ulbrich raveit65 at fedoraproject.org
Wed Dec 18 19:55:43 UTC 2013


commit 10b44598773c599a49b9fce4b7127d777ee6cba3
Author: raveit65 <chat-to-me at raveit.de>
Date:   Wed Dec 18 20:55:44 2013 +0100

    update for rename caja in f21

 python-caja.spec |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/python-caja.spec b/python-caja.spec
index 8619310..35c833d 100644
--- a/python-caja.spec
+++ b/python-caja.spec
@@ -1,6 +1,6 @@
 Name:           python-caja
 Version:        1.4.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Epoch:          1
 Summary:        Python bindings for Caja
 
@@ -18,7 +18,11 @@ Patch2:         python-caja_fix_incorrect-FSF-address-copying.patch
 Patch3:         python-caja_automake-1.13-fix.patch
 
 BuildRequires:  python2-devel
+%if 0%{?fedora} > 20
+BuildRequires:  caja-devel
+%else
 BuildRequires:  mate-file-manager-devel
+%endif
 BuildRequires:  pygobject2-devel
 BuildRequires:  mate-common
 BuildRequires:  pygtk2-devel
@@ -38,6 +42,14 @@ Python bindings for Caja
 
 %prep
 %setup -q
+sed -i -e 's~#!/usr/bin/python~#!%{__python2}~g' examples/background-image.py
+sed -i -e 's~#!/usr/bin/python~#!%{__python2}~g' examples/block-size-column.py
+sed -i -e 's~#!/usr/bin/python~#!%{__python2}~g' examples/location-widget-provider.py
+sed -i -e 's~#!/usr/bin/python~#!%{__python2}~g' examples/md5sum-property-page.py
+sed -i -e 's~#!/usr/bin/python~#!%{__python2}~g' examples/open-terminal.py
+sed -i -e 's~#!/usr/bin/python~#!%{__python2}~g' examples/submenu.py
+sed -i -e 's~#!/usr/bin/python~#!%{__python2}~g' examples/update-file-info-async.py
+
 %patch0 -p1 -b .mate-python
 %patch1 -p1 -b .incorrect-FSF-address
 %patch2 -p1 -b .COPYING
@@ -76,6 +88,10 @@ find $RPM_BUILD_ROOT -name '*.la' -delete
 
 
 %changelog
+* Wed Dec 18 2013 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1:1.4.0-4
+- rebuild for caja rename in f21
+- add python2 stacks
+
 * Mon Sep 23 2013 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1:1.4.0-3
 - own directories
 


More information about the scm-commits mailing list