[packages/python-pygobject3] up to 3.36.0
atler
atler at pld-linux.org
Fri Mar 20 12:15:35 CET 2020
commit ce55a23d754d50ba6fa0afcc8b892ab976648ee6
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Mar 20 12:15:12 2020 +0100
up to 3.36.0
- fix shebang in examples
python-pygobject3.spec | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/python-pygobject3.spec b/python-pygobject3.spec
index 8e91005..fdc8637 100644
--- a/python-pygobject3.spec
+++ b/python-pygobject3.spec
@@ -9,12 +9,12 @@
Summary: Python bindings for GObject library
Summary(pl.UTF-8): Wiązania Pythona do biblioteki GObject
Name: python-pygobject3
-Version: 3.34.0
-Release: 3
+Version: 3.36.0
+Release: 1
License: LGPL v2+
Group: Libraries/Python
-Source0: http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.34/%{module}-%{version}.tar.xz
-# Source0-md5: ca1dc4f31c1d6d283758e8f315a88ab6
+Source0: http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.36/%{module}-%{version}.tar.xz
+# Source0-md5: 3d05e4c3682d00d5fbe2383f418851b5
URL: https://wiki.gnome.org/Projects/PyGObject
BuildRequires: cairo-gobject-devel
BuildRequires: glib2-devel >= 1:2.48.0
@@ -155,6 +155,8 @@ Ten pakiet zawiera przykładowe programy dla biblioteki GObject.
%prep
%setup -q -n %{module}-%{version}
+%{__sed} -i -e '1s|#!/usr/bin/env python$|#!%{__python}|' examples/cairo-demo.py
+
%build
%if %{with python2}
%py_build %{?with_tests:test}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pygobject3.git/commitdiff/ce55a23d754d50ba6fa0afcc8b892ab976648ee6
More information about the pld-cvs-commit
mailing list