commit python-nautilus for openSUSE:Factory
Hello community, here is the log from the commit of package python-nautilus for openSUSE:Factory checked in at 2020-06-05 20:22:29 Comparing /work/SRC/openSUSE:Factory/python-nautilus (Old) and /work/SRC/openSUSE:Factory/.python-nautilus.new.3606 (New) Package is "python-nautilus" Fri Jun 5 20:22:29 2020 rev:28 rq:811858 version:1.2.3 Changes: --- /work/SRC/openSUSE:Factory/python-nautilus/python-nautilus.changes 2019-12-09 21:34:32.578114230 +0100 +++ /work/SRC/openSUSE:Factory/.python-nautilus.new.3606/python-nautilus.changes 2020-06-05 20:28:46.253270264 +0200 @@ -1,0 +2,5 @@ +Thu Jun 4 19:31:20 UTC 2020 - Bjørn Lie + +- Add python-nautilus-gcc10-buildfix.patch: Fix build with gcc 10. + +--- New: python-nautilus-gcc10-buildfix.patch Other differences: -- ++ python-nautilus.spec ++ --- /var/tmp/diff_new_pack.Sp0NJh/_old 2020-06-05 20:28:46.873272095 +0200 +++ /var/tmp/diff_new_pack.Sp0NJh/_new 2020-06-05 20:28:46.877272107 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-nautilus # -# Copyright (c) 2019 SUSE LLC. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,6 +29,8 @@ Group: Development/Libraries/Python URL:https://wiki.gnome.org/Projects/NautilusPython Source: http://download.gnome.org/sources/nautilus-python/1.2/%{_name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM python-nautilus-gcc10-buildfix.patch -- Fix build with gcc 10 +Patch0: python-nautilus-gcc10-buildfix.patch BuildRequires: %{python_module devel} BuildRequires: gtk-doc ++ python-nautilus-gcc10-buildfix.patch ++ From: Andreas Henriksson Subject: Fix build with gcc 10 Bug-Debian: https://bugs.debian.org/957578 Forwarded: https://gitlab.gnome.org/GNOME/nautilus-python/-/merge_requests/7 Last-Update: 2020-05-11 --- nautilus-python-1.2.3.orig/src/nautilus-python-object.c +++ nautilus-python-1.2.3/src/nautilus-python-object.c @@ -40,7 +40,7 @@ int __PyString_Check(PyObject *obj) { #endif } -char* __PyString_AsString(PyObject *obj) { +const char* __PyString_AsString(PyObject *obj) { #if PY_MAJOR_VERSION >= 3 return PyUnicode_AsUTF8(obj); #else @@ -389,7 +389,7 @@ beach: #define METHOD_NAME "update_file_info" static NautilusOperationResult nautilus_python_object_update_file_info (NautilusInfoProvider *provider, - NautilusFile *file, + NautilusFileInfo *file_info, GClosure *update_complete, NautilusOperationHandle **handle) { NautilusPythonObject *object = (NautilusPythonObject*)provider; @@ -408,12 +408,12 @@ nautilus_python_object_update_file_info pygobject_new((GObject*)provider), py_handle, pyg_boxed_new(G_TYPE_CLOSURE, update_complete, TRUE, TRUE), - pygobject_new((GObject*)file)); + pygobject_new((GObject*)file_info)); } else if (PyObject_HasAttrString(object->instance, "update_file_info")) { py_ret = PyObject_CallMethod(object->instance, METHOD_PREFIX METHOD_NAME, "(N)", - pygobject_new((GObject*)file)); + pygobject_new((GObject*)file_info)); } else { goto beach; @@ -434,7 +434,7 @@ nautilus_python_object_update_file_info #endif beach: -free_pygobject_data(file, NULL); +free_pygobject_data(file_info, NULL); Py_XDECREF(py_ret); pyg_gil_state_release(state); return ret; --- nautilus-python-1.2.3.orig/src/nautilus-python.c +++ nautilus-python-1.2.3/src/nautilus-python.c @@ -22,6 +22,7 @@ #endif #include +#define NO_IMPORT_PYGOBJECT //To avoid a multiple definition, nautilus-python-object.c also includes and does the import. #include #include #include @@ -42,6 +43,18 @@ static gboolean nautilus_python_init_pyt static GArray *all_types = NULL; +PyTypeObject *_PyGtkWidget_Type; +PyTypeObject *_PyNautilusColumn_Type; +PyTypeObject *_PyNautilusColumnProvider_Type; +PyTypeObject *_PyNautilusInfoProvider_Type; +PyTypeObject *_PyNautilusLocationWidgetProvider_Type; +PyTypeObject *_PyNautilusMenu_Type; +PyTypeObject *_PyNautilusMenuItem_Type; +PyTypeObject *_PyNautilusMenuProvider_Type;
commit python-nautilus for openSUSE:Factory
Hello community, here is the log from the commit of package python-nautilus for openSUSE:Factory checked in at 2019-12-09 21:34:32 Comparing /work/SRC/openSUSE:Factory/python-nautilus (Old) and /work/SRC/openSUSE:Factory/.python-nautilus.new.4691 (New) Package is "python-nautilus" Mon Dec 9 21:34:32 2019 rev:27 rq:754988 version:1.2.3 Changes: --- /work/SRC/openSUSE:Factory/python-nautilus/python-nautilus.changes 2019-11-26 17:05:56.159974501 +0100 +++ /work/SRC/openSUSE:Factory/.python-nautilus.new.4691/python-nautilus.changes 2019-12-09 21:34:32.578114230 +0100 @@ -1,0 +2,6 @@ +Wed Dec 4 22:10:09 UTC 2019 - Bjørn Lie + +- Fix Requires in devel subpackage, needed now we only build + python3 variant. + +--- Other differences: -- ++ python-nautilus.spec ++ --- /var/tmp/diff_new_pack.mY3nXy/_old 2019-12-09 21:34:33.138114009 +0100 +++ /var/tmp/diff_new_pack.mY3nXy/_new 2019-12-09 21:34:33.142114007 +0100 @@ -70,7 +70,7 @@ %package -n %{name}-common-devel Summary:Shared development files for python-nautilus Group: Development/Libraries/Python -Requires: %{name}-devel = %{version} +Requires: python3-nautilus-devel = %{version} Provides: %{python_module nautilus-common-devel = %{version}} %description -n %{name}-common-devel
commit python-nautilus for openSUSE:Factory
Hello community, here is the log from the commit of package python-nautilus for openSUSE:Factory checked in at 2019-11-26 17:04:46 Comparing /work/SRC/openSUSE:Factory/python-nautilus (Old) and /work/SRC/openSUSE:Factory/.python-nautilus.new.26869 (New) Package is "python-nautilus" Tue Nov 26 17:04:46 2019 rev:26 rq:750960 version:1.2.3 Changes: --- /work/SRC/openSUSE:Factory/python-nautilus/python-nautilus.changes 2019-07-22 17:18:58.649930422 +0200 +++ /work/SRC/openSUSE:Factory/.python-nautilus.new.26869/python-nautilus.changes 2019-11-26 17:05:56.159974501 +0100 @@ -1,0 +2,8 @@ +Wed Nov 20 11:04:52 UTC 2019 - Dominique Leuenberger + +- No longer build python2 variant: This did not really work anyway + as python-nautilus-commonp_files was not that common between py2 + and py3: the .so file actually linked one of the python + interpreters directly (boo#1157305). + +--- Other differences: -- ++ python-nautilus.spec ++ --- /var/tmp/diff_new_pack.t200XE/_old 2019-11-26 17:05:57.075974185 +0100 +++ /var/tmp/diff_new_pack.t200XE/_new 2019-11-26 17:05:57.079974183 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-nautilus # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,6 +19,7 @@ %define oldpython python %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define _name nautilus-python +%define skip_python2 1 Name: python-nautilus Version:1.2.3 @@ -40,10 +41,6 @@ Requires: python-gobject # we can't have automatic typelib() Requires here: it's C code: PyImport_ImportModule("gi.repository.Nautilus") Requires: typelib(Nautilus) -%ifpython2 -Obsoletes: %{oldpython}-nautilus < 1.2.1 -Provides: %{oldpython}-nautilus = %{version} -%endif %python_subpackages %description @@ -54,7 +51,6 @@ %package -n %{name}-common-files Summary:Python nautilus files shared between python interpreter versions Group: Development/Libraries/Python -Requires: %{name} = %{version} Provides: %{python_module nautilus-common-files = %{version}} %description -n %{name}-common-files
commit python-nautilus for openSUSE:Factory
Hello community, here is the log from the commit of package python-nautilus for openSUSE:Factory checked in at 2019-07-22 17:18:58 Comparing /work/SRC/openSUSE:Factory/python-nautilus (Old) and /work/SRC/openSUSE:Factory/.python-nautilus.new.4126 (New) Package is "python-nautilus" Mon Jul 22 17:18:58 2019 rev:25 rq:717535 version:1.2.3 Changes: --- /work/SRC/openSUSE:Factory/python-nautilus/python-nautilus.changes 2019-07-13 14:00:53.71072 +0200 +++ /work/SRC/openSUSE:Factory/.python-nautilus.new.4126/python-nautilus.changes 2019-07-22 17:18:58.649930422 +0200 @@ -1,0 +2,13 @@ +Thu Jul 18 17:20:19 UTC 2019 - Bjørn Lie + +- Update to version 1.2.3: + + Fixed open-terminal example extension. + + Fixed glgo#GNOME/nautilus-python#3: setting argv[0] to thunar. + + Fixed glgo#GNOME/nautilus-python#4: allow overriding the build +date to enable reproducible builds. + + Removed build warnings. + + Fix to work with python 3.8. +- Drop reproducible.patch: Fixed upstream. +- Use modern macros. + +--- Old: nautilus-python-1.2.2.tar.xz reproducible.patch New: nautilus-python-1.2.3.tar.xz Other differences: -- ++ python-nautilus.spec ++ --- /var/tmp/diff_new_pack.msJz1K/_old 2019-07-22 17:18:59.125930043 +0200 +++ /var/tmp/diff_new_pack.msJz1K/_new 2019-07-22 17:18:59.129930041 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-nautilus # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,29 +12,30 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define oldpython python %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define _name nautilus-python + Name: python-nautilus -Version:1.2.2 +Version:1.2.3 Release:0 Summary:Python bindings for Nautilus License:GPL-2.0-or-later Group: Development/Libraries/Python URL:https://wiki.gnome.org/Projects/NautilusPython Source: http://download.gnome.org/sources/nautilus-python/1.2/%{_name}-%{version}.tar.xz -# PATCH-FIX-UPSTREAM -- https://gitlab.gnome.org/GNOME/nautilus-python/issues/4 -Patch0: reproducible.patch + BuildRequires: %{python_module devel} BuildRequires: gtk-doc BuildRequires: pkgconfig BuildRequires: python-rpm-macros BuildRequires: pkgconfig(libnautilus-extension) BuildRequires: pkgconfig(pygobject-3.0) + Requires: %{name}-common-files = %{version} Requires: python-gobject # we can't have automatic typelib() Requires here: it's C code: PyImport_ImportModule("gi.repository.Nautilus") @@ -81,8 +82,7 @@ python-nautilus in both Python2 and Python3. %prep -%setup -q -n %{_name}-%{version} -%patch0 -p1 +%autosetup -p1 -n %{_name}-%{version} %build %define _configure ../configure @@ -92,8 +92,9 @@ %configure \ --disable-static \ --docdir=%{_docdir}/$python-nautilus \ ---enable-gtk-doc -make %{?_smp_mflags} + --enable-gtk-doc \ + %{nil} +%make_build popd } ++ nautilus-python-1.2.2.tar.xz -> nautilus-python-1.2.3.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nautilus-python-1.2.2/ChangeLog new/nautilus-python-1.2.3/ChangeLog --- old/nautilus-python-1.2.2/ChangeLog 2018-01-01 19:19:54.0 +0100 +++ new/nautilus-python-1.2.3/ChangeLog 2019-07-18 02:04:25.0 +0200 @@ -1,3 +1,3 @@ The ChangeLog file is no longer used. -For a list of changes goto: http://git.gnome.org/browse/nautilus-python/log/ +For a list of changes goto: https://gitlab.gnome.org/GNOME/nautilus-python/commits/master diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nautilus-python-1.2.2/NEWS new/nautilus-python-1.2.3/NEWS --- old/nautilus-python-1.2.2/NEWS 2018-01-15 00:01:23.0 +0100 +++ new/nautilus-python-1.2.3/NEWS 2019-07-18 02:04:25.0 +0200 @@ -1,3 +1,12 @@ +1.2.3: +- First release from gitlab +- Fixed open-terminal example extension (Maximillian Schambach) +- Fixed invalid DOAP file category (Andre Klapper) +- Fixed bug #3, setting argv[0] to thunar +- Fixed bug #4, allow overriding the build date to enable reproducible builds +- Removed
commit python-nautilus for openSUSE:Factory
Hello community, here is the log from the commit of package python-nautilus for openSUSE:Factory checked in at 2019-07-13 13:50:12 Comparing /work/SRC/openSUSE:Factory/python-nautilus (Old) and /work/SRC/openSUSE:Factory/.python-nautilus.new.4615 (New) Package is "python-nautilus" Sat Jul 13 13:50:12 2019 rev:24 rq:714902 version:1.2.2 Changes: --- /work/SRC/openSUSE:Factory/python-nautilus/python-nautilus.changes 2018-05-10 15:49:15.521574400 +0200 +++ /work/SRC/openSUSE:Factory/.python-nautilus.new.4615/python-nautilus.changes 2019-07-13 14:00:53.71072 +0200 @@ -1,0 +2,5 @@ +Fri Jul 12 13:27:55 UTC 2019 - Bernhard Wiedemann + +- Add reproducible.patch to override build date (boo#1047218) + +--- New: reproducible.patch Other differences: -- ++ python-nautilus.spec ++ --- /var/tmp/diff_new_pack.imI9Pq/_old 2019-07-13 14:00:54.314888687 +0200 +++ /var/tmp/diff_new_pack.imI9Pq/_new 2019-07-13 14:00:54.31686 +0200 @@ -27,6 +27,8 @@ Group: Development/Libraries/Python URL:https://wiki.gnome.org/Projects/NautilusPython Source: http://download.gnome.org/sources/nautilus-python/1.2/%{_name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM -- https://gitlab.gnome.org/GNOME/nautilus-python/issues/4 +Patch0: reproducible.patch BuildRequires: %{python_module devel} BuildRequires: gtk-doc BuildRequires: pkgconfig @@ -80,6 +82,7 @@ %prep %setup -q -n %{_name}-%{version} +%patch0 -p1 %build %define _configure ../configure ++ reproducible.patch ++ Author: Bernhard M. Wiedemann Date: 2018-04-08 https://bugzilla.gnome.org/show_bug.cgi?id=795063 https://gitlab.gnome.org/GNOME/nautilus-python/issues/4 Allow to override build date with SOURCE_DATE_EPOCH in order to make builds reproducible. See https://reproducible-builds.org/ for why this is good and https://reproducible-builds.org/specs/source-date-epoch/ for the definition of this variable. Index: nautilus-python-1.2.1/docs/Makefile.in === --- nautilus-python-1.2.1.orig/docs/Makefile.in +++ nautilus-python-1.2.1/docs/Makefile.in @@ -614,7 +614,7 @@ uninstall-am: uninstall-HTMLDATA uninsta @ENABLE_GTK_DOC_TRUE@reference/builddate.xml: $(REFERENCE_DEPS) -@ENABLE_GTK_DOC_TRUE@ $(PYTHON) -c 'import datetime; print(datetime.date.today())' > $@ +@ENABLE_GTK_DOC_TRUE@ $(PYTHON) -c "import datetime; import os; import time; print(datetime.datetime.utcfromtimestamp(int(os.environ.get('SOURCE_DATE_EPOCH', time.time(.date())" > $@ @ENABLE_GTK_DOC_TRUE@$(HTML_DATA): $(REFERENCE_DEPS) reference/builddate.xml @ENABLE_GTK_DOC_TRUE@ $(GTKDOC_MKHTML) \
commit python-nautilus for openSUSE:Factory
Hello community, here is the log from the commit of package python-nautilus for openSUSE:Factory checked in at 2018-05-10 15:49:01 Comparing /work/SRC/openSUSE:Factory/python-nautilus (Old) and /work/SRC/openSUSE:Factory/.python-nautilus.new (New) Package is "python-nautilus" Thu May 10 15:49:01 2018 rev:23 rq:605357 version:1.2.2 Changes: --- /work/SRC/openSUSE:Factory/python-nautilus/python-nautilus.changes 2018-04-04 11:08:13.793926461 +0200 +++ /work/SRC/openSUSE:Factory/.python-nautilus.new/python-nautilus.changes 2018-05-10 15:49:15.521574400 +0200 @@ -1,0 +2,7 @@ +Mon May 7 00:06:45 UTC 2018 - luc1...@linuxmail.org + +- Update to version 1.2.2: + + Fix folder string comparison to prevent duplicate extension +loading (bgo##792427). + +--- Old: nautilus-python-1.2.1.tar.xz New: nautilus-python-1.2.2.tar.xz Other differences: -- ++ python-nautilus.spec ++ --- /var/tmp/diff_new_pack.2setYO/_old 2018-05-10 15:49:16.241548013 +0200 +++ /var/tmp/diff_new_pack.2setYO/_new 2018-05-10 15:49:16.245547866 +0200 @@ -20,7 +20,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define _name nautilus-python Name: python-nautilus -Version:1.2.1 +Version:1.2.2 Release:0 Summary:Python bindings for Nautilus License:GPL-2.0-or-later ++ nautilus-python-1.2.1.tar.xz -> nautilus-python-1.2.2.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nautilus-python-1.2.1/NEWS new/nautilus-python-1.2.2/NEWS --- old/nautilus-python-1.2.1/NEWS 2018-01-09 01:41:37.0 +0100 +++ new/nautilus-python-1.2.2/NEWS 2018-01-15 00:01:23.0 +0100 @@ -1,3 +1,6 @@ +1.2.2: +- Fixed bug #792427, Fix folder string comparison to prevent duplicate extension loading + 1.2.1: - Fixed bug #792348, Fix syntax error when building docs using python3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nautilus-python-1.2.1/configure new/nautilus-python-1.2.2/configure --- old/nautilus-python-1.2.1/configure 2018-01-09 01:43:06.0 +0100 +++ new/nautilus-python-1.2.2/configure 2018-01-15 00:02:31.0 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for nautilus-python 1.2.1. +# Generated by GNU Autoconf 2.69 for nautilus-python 1.2.2. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -587,8 +587,8 @@ # Identity of this package. PACKAGE_NAME='nautilus-python' PACKAGE_TARNAME='nautilus-python' -PACKAGE_VERSION='1.2.1' -PACKAGE_STRING='nautilus-python 1.2.1' +PACKAGE_VERSION='1.2.2' +PACKAGE_STRING='nautilus-python 1.2.2' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1366,7 +1366,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures nautilus-python 1.2.1 to adapt to many kinds of systems. +\`configure' configures nautilus-python 1.2.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1436,7 +1436,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of nautilus-python 1.2.1:";; + short | recursive ) echo "Configuration of nautilus-python 1.2.2:";; esac cat <<\_ACEOF @@ -1564,7 +1564,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -nautilus-python configure 1.2.1 +nautilus-python configure 1.2.2 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1842,7 +1842,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by nautilus-python $as_me 1.2.1, which was +It was created by nautilus-python $as_me 1.2.2, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2710,7 +2710,7 @@ # Define the identity of the package. PACKAGE='nautilus-python' - VERSION='1.2.1' + VERSION='1.2.2' cat >>confdefs.h <<_ACEOF @@ -13585,7 +13585,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by nautilus-python $as_me 1.2.1, which was +This file was extended by nautilus-python $as_me 1.2.2, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES= $CONFIG_FILES @@ -13651,7 +13651,7 @@ cat >>$CONFIG_STATUS <<_ACEOF
commit python-nautilus for openSUSE:Factory
Hello community, here is the log from the commit of package python-nautilus for openSUSE:Factory checked in at 2018-04-04 11:08:02 Comparing /work/SRC/openSUSE:Factory/python-nautilus (Old) and /work/SRC/openSUSE:Factory/.python-nautilus.new (New) Package is "python-nautilus" Wed Apr 4 11:08:02 2018 rev:22 rq:593233 version:1.2.1 Changes: --- /work/SRC/openSUSE:Factory/python-nautilus/python-nautilus.changes 2012-05-16 15:03:57.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-nautilus.new/python-nautilus.changes 2018-04-04 11:08:13.793926461 +0200 @@ -1,0 +2,27 @@ +Mon Jan 8 01:25:43 UTC 2018 - luc1...@linuxmail.org + +- Update to version 1.2.1: + + Fix syntax error when building docs using python3 (bgo#792348). +- Changes from version 1.2: + + Added capability to compile with python 3 support using PYTHON +environment variable. + + Improve extension path loading semantics to follow XDG +recommendations (bgo#781232). + + Require Nautilus 3.0 before importing extensions to prevent +warnings (bgo#791208). +- Turn the package into singlespec. +- Update URL tag to https://wiki.gnome.org/Projects/NautilusPython: + currently the Nautilus Python project's web page. +- Drop: + + libtool BuildRequires and autoreconf call: the last is no +longer needed and the former is automatically being pulled. + + Standard BuilRoot setting tag: RPM already handles this itself. +- Pass --docdir=%{_docdir}/%{name} to configure for the use of the + right documentation's directory. +- Unconditionalize gtk-doc BuildRequires as the documentation is + building without further problems again. +- Remove unneeded %clean section once RPM does this work itself + nowadays. +- Correct out of order sentence in package descriptions. + +--- Old: nautilus-python-1.1.tar.bz2 New: nautilus-python-1.2.1.tar.xz Other differences: -- ++ python-nautilus.spec ++ --- /var/tmp/diff_new_pack.S9UmWl/_old 2018-04-04 11:08:15.333870654 +0200 +++ /var/tmp/diff_new_pack.S9UmWl/_new 2018-04-04 11:08:15.333870654 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-nautilus # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,83 +16,111 @@ # -# -%define build_doc 0 - -Name: python-nautilus +%define oldpython python +%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define _name nautilus-python -Version:1.1 +Name: python-nautilus +Version:1.2.1 Release:0 Summary:Python bindings for Nautilus -License:GPL-2.0+ +License:GPL-2.0-or-later Group: Development/Libraries/Python -Url:http://git.gnome.org/cgit/nautilus-python/ -Source: http://download.gnome.org/sources/nautilus-python/1.1/%{_name}-%{version}.tar.bz2 -%if %{build_doc} +URL:https://wiki.gnome.org/Projects/NautilusPython +Source: http://download.gnome.org/sources/nautilus-python/1.2/%{_name}-%{version}.tar.xz +BuildRequires: %{python_module devel} BuildRequires: gtk-doc -%endif -BuildRequires: libtool -BuildRequires: python-devel +BuildRequires: pkgconfig +BuildRequires: python-rpm-macros BuildRequires: pkgconfig(libnautilus-extension) BuildRequires: pkgconfig(pygobject-3.0) +Requires: %{name}-common-files = %{version} Requires: python-gobject # we can't have automatic typelib() Requires here: it's C code: PyImport_ImportModule("gi.repository.Nautilus") Requires: typelib(Nautilus) -BuildRoot: %{_tmppath}/%{name}-%{version}-build +%ifpython2 +Obsoletes: %{oldpython}-nautilus < 1.2.1 +Provides: %{oldpython}-nautilus = %{version} +%endif +%python_subpackages %description This package contains bindings to write Nautilus extensions with Python. It allows writing menu, property pages and column providers extensions, so that Nautilus functionality can be easily extended. -%package devel -Summary:Python bindings for Nautilus - Development Files +%package -n %{name}-common-files +Summary:Python nautilus files shared between python interpreter versions Group: Development/Libraries/Python Requires: %{name} = %{version} +Provides: %{python_module nautilus-common-files = %{version}} + +%description -n %{name}-common-files +This package contains common files required to build wrappers for +python-nautilus in both Python2 and Python3. + +%package devel +Summary:
commit python-nautilus for openSUSE:Factory
Hello community, here is the log from the commit of package python-nautilus for openSUSE:Factory checked in at 2012-05-16 15:03:55 Comparing /work/SRC/openSUSE:Factory/python-nautilus (Old) and /work/SRC/openSUSE:Factory/.python-nautilus.new (New) Package is python-nautilus, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/python-nautilus/python-nautilus.changes 2011-12-05 12:45:20.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-nautilus.new/python-nautilus.changes 2012-05-16 15:03:57.0 +0200 @@ -1,0 +2,7 @@ +Wed May 9 07:25:45 UTC 2012 - vu...@opensuse.org + +- Explicitly add missing typelib(Nautilus) Requires: we can't use + the automatic typelib() Requires generator since this python + module is written in C. + +--- Other differences: -- ++ python-nautilus.spec ++ --- /var/tmp/diff_new_pack.k82qRS/_old 2012-05-16 15:03:58.0 +0200 +++ /var/tmp/diff_new_pack.k82qRS/_new 2012-05-16 15:03:58.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-nautilus # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -14,6 +14,8 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + + # %define build_doc 0 @@ -21,8 +23,8 @@ %define _name nautilus-python Version:1.1 Release:0 -License:GPL-2.0+ Summary:Python bindings for Nautilus +License:GPL-2.0+ Group: Development/Libraries/Python Url:http://git.gnome.org/cgit/nautilus-python/ Source: http://download.gnome.org/sources/nautilus-python/1.1/%{_name}-%{version}.tar.bz2 @@ -34,6 +36,8 @@ BuildRequires: pkgconfig(libnautilus-extension) BuildRequires: pkgconfig(pygobject-3.0) Requires: python-gobject +# we can't have automatic typelib() Requires here: it's C code: PyImport_ImportModule(gi.repository.Nautilus) +Requires: typelib(Nautilus) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -43,6 +47,7 @@ %package devel Summary:Python bindings for Nautilus - Development Files +Group: Development/Libraries/Python Requires: %{name} = %{version} %description devel -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-nautilus for openSUSE:Factory
Hello community, here is the log from the commit of package python-nautilus for openSUSE:Factory checked in at 2011-12-05 12:45:19 Comparing /work/SRC/openSUSE:Factory/python-nautilus (Old) and /work/SRC/openSUSE:Factory/.python-nautilus.new (New) Package is python-nautilus, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/python-nautilus/python-nautilus.changes 2011-10-25 17:06:07.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-nautilus.new/python-nautilus.changes 2011-12-05 12:45:20.0 +0100 @@ -1,0 +2,5 @@ +Fri Dec 2 16:00:15 UTC 2011 - co...@suse.com + +- add libtool as buildrequire to avoid implicit dependency + +--- Other differences: -- ++ python-nautilus.spec ++ --- /var/tmp/diff_new_pack.Hs8zzS/_old 2011-12-05 12:45:21.0 +0100 +++ /var/tmp/diff_new_pack.Hs8zzS/_new 2011-12-05 12:45:21.0 +0100 @@ -14,14 +14,13 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - - +# %define build_doc 0 Name: python-nautilus %define _name nautilus-python Version:1.1 -Release:1 +Release:0 License:GPL-2.0+ Summary:Python bindings for Nautilus Group: Development/Libraries/Python @@ -30,6 +29,7 @@ %if %{build_doc} BuildRequires: gtk-doc %endif +BuildRequires: libtool BuildRequires: python-devel BuildRequires: pkgconfig(libnautilus-extension) BuildRequires: pkgconfig(pygobject-3.0) @@ -42,9 +42,7 @@ so that Nautilus functionality can be easily extended. %package devel -License:GPL-2.0+ Summary:Python bindings for Nautilus - Development Files -Group: Development/Libraries/Python Requires: %{name} = %{version} %description devel -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-nautilus for openSUSE:Factory
Hello community, here is the log from the commit of package python-nautilus for openSUSE:Factory checked in at 2011-10-25 17:06:04 Comparing /work/SRC/openSUSE:Factory/python-nautilus (Old) and /work/SRC/openSUSE:Factory/.python-nautilus.new (New) Package is python-nautilus, Maintainer is Changes: --- /work/SRC/openSUSE:Factory/python-nautilus/python-nautilus.changes 2011-10-02 10:26:46.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-nautilus.new/python-nautilus.changes 2011-10-25 17:06:07.0 +0200 @@ -1,0 +2,14 @@ +Mon Oct 17 20:48:14 CEST 2011 - dims...@opensuse.org + +- Update to version 1.1: + + Added pygobject3 compatibility, and retained pygobject 2.28.x +compatibility. + + Bugs fixed: bgo#660290, bgo#660288, bgo#660287, bgo#660286, +bgo#660283, bgo#653169. +- Drop patches that have been merged upstream: + + python-nautilus-fix-path-in-pc.patch + + python-nautilus-fix-warnings.patch + + python-nautilus-no-extension-on-failure.patch + + python-nautilus-pygobject-3.0.patch + +--- Old: nautilus-python-1.0.tar.bz2 python-nautilus-fix-path-in-pc.patch python-nautilus-fix-warnings.patch python-nautilus-no-extension-on-failure.patch python-nautilus-pygobject-3.0.patch New: nautilus-python-1.1.tar.bz2 Other differences: -- ++ python-nautilus.spec ++ --- /var/tmp/diff_new_pack.4G8iYP/_old 2011-10-25 17:06:08.0 +0200 +++ /var/tmp/diff_new_pack.4G8iYP/_new 2011-10-25 17:06:08.0 +0200 @@ -20,21 +20,13 @@ Name: python-nautilus %define _name nautilus-python -Version:1.0 -Release:3 +Version:1.1 +Release:1 License:GPL-2.0+ Summary:Python bindings for Nautilus Group: Development/Libraries/Python Url:http://git.gnome.org/cgit/nautilus-python/ -Source: %{_name}-%{version}.tar.bz2 -# PATCH-FIX-UPSTREAM python-nautilus-fix-path-in-pc.patch bgo#652032 vu...@opensuse.org -- Fix extension dir in pkg-config file -Patch0: python-nautilus-fix-path-in-pc.patch -# PATCH-FIX-UPSTREAM python-nautilus-pygobject-3.0.patch bgo#660348 vu...@opensuse.org -- Port to pygobject 3.0 -Patch1: python-nautilus-pygobject-3.0.patch -# PATCH-FIX-UPSTREAM python-nautilus-fix-warnings.patch bgo#660348 vu...@opensuse.org -- Fix various warnings -Patch2: python-nautilus-fix-warnings.patch -# PATCH-FIX-UPSTREAM python-nautilus-no-extension-on-failure.patch bgo#660348 vu...@opensuse.org -- Don't load extensions if we fail to initialize -Patch3: python-nautilus-no-extension-on-failure.patch +Source: http://download.gnome.org/sources/nautilus-python/1.1/%{_name}-%{version}.tar.bz2 %if %{build_doc} BuildRequires: gtk-doc %endif @@ -63,10 +55,6 @@ %prep %setup -q -n %{_name}-%{version} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 %build autoreconf -fi -I m4 ++ nautilus-python-1.0.tar.bz2 - nautilus-python-1.1.tar.bz2 ++ 11396 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-nautilus for openSUSE:Factory
Hello community, here is the log from the commit of package python-nautilus for openSUSE:Factory checked in at Thu Jun 30 16:26:46 CEST 2011. --- GNOME/python-nautilus/python-nautilus.changes 2011-05-28 01:36:55.0 +0200 +++ /mounts/work_src_done/STABLE/python-nautilus/python-nautilus.changes 2011-06-22 16:22:40.0 +0200 @@ -1,0 +2,15 @@ +Wed Jun 22 14:20:50 UTC 2011 - malcolmle...@opensuse.org + +- Fix /usr/share/nautilus-python directories not owned by a + package. +- Update spec file Licence field from GPLv2+ to GPL-2.0+ to + conform with spdx.org identifier. + +--- +Fri Jun 17 04:19:57 CEST 2011 - vu...@opensuse.org + +- Add python-nautilus-fix-path-in-pc.patch to fix the pkg-config + file to refer to the right extension directory, now that it + changed. + +--- calling whatdependson for head-i586 New: python-nautilus-fix-path-in-pc.patch Other differences: -- ++ python-nautilus.spec ++ --- /var/tmp/diff_new_pack.CmtFOM/_old 2011-06-30 16:24:55.0 +0200 +++ /var/tmp/diff_new_pack.CmtFOM/_new 2011-06-30 16:24:55.0 +0200 @@ -20,12 +20,14 @@ Name: python-nautilus %define _name nautilus-python Version:1.0 -Release:1 -License:GPLv2+ +Release:3 +License:GPL-2.0+ Summary:Python bindings for Nautilus Group: Development/Libraries/Python Url:http://git.gnome.org/cgit/nautilus-python/ Source: %{_name}-%{version}.tar.bz2 +# PATCH-FIX-UPSTREAM python-nautilus-fix-path-in-pc.patch bgo#652032 vu...@opensuse.org -- Fix extension dir in pkg-config file +Patch0: python-nautilus-fix-path-in-pc.patch BuildRequires: gtk-doc BuildRequires: python-devel BuildRequires: pkgconfig(libnautilus-extension) @@ -39,7 +41,7 @@ so that Nautilus functionality can be easily extended. %package devel -License:GPLv2+ +License:GPL-2.0+ Summary:Python bindings for Nautilus - Development Files Group: Development/Libraries/Python Requires: %{name} = %{version} @@ -52,6 +54,7 @@ %prep %setup -q -n %{_name}-%{version} +%patch0 -p1 %build %configure --disable-static \ @@ -73,6 +76,7 @@ %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING NEWS README %{_libdir}/nautilus/extensions-3.0/libnautilus-python.so +%dir %{_datadir}/nautilus-python %dir %{_datadir}/nautilus-python/extensions %files devel ++ python-nautilus-fix-path-in-pc.patch ++ Index: nautilus-python-1.0/nautilus-python.pc.in === --- nautilus-python-1.0.orig/nautilus-python.pc.in +++ nautilus-python-1.0/nautilus-python.pc.in @@ -4,4 +4,4 @@ Version: @VERSION@ prefix=@prefix@ libdir=${prefix}/lib -pythondir=@NAUTILUS_EXTENSION_DIR@/python +pythondir=@datadir@/nautilus-python/extensions Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-nautilus for openSUSE:Factory
Hello community, here is the log from the commit of package python-nautilus for openSUSE:Factory checked in at Tue May 31 13:44:21 CEST 2011. --- GNOME/python-nautilus/python-nautilus.changes 2011-01-07 09:29:29.0 +0100 +++ /mounts/work_src_done/STABLE/python-nautilus/python-nautilus.changes 2011-05-28 01:36:55.0 +0200 @@ -1,0 +2,52 @@ +Sat May 28 01:27:26 CEST 2011 - vu...@opensuse.org + +- Update dependencies after move to gobject introspection: + + Remove python-gnome-devel, python-gtk-devel BuildRequires, +python-gtk Requires from main package, and python-gtk-devel +Requires from devel subpackage. + + Add pkgconfig(pygobject-2.0) BuildRequires and python-gobject +Requires. +- Change nautilus-devel BuildRequires to + pkgconfig(libnautilus-extension). +- Drop unneeded python-gobject2-doc BuildRequires. +- Fix license tag: the code is GPLv2+ (and not LGPLv2+). +- Stop creating %{_libdir}/nautilus/extensions-2.0/python directory + as extensions there are not considered anymore. + +--- +Sun May 22 21:07:39 CEST 2011 - dims...@opensuse.org + +- Update to version 1.0: + + Use the gobject instrospection dynamic bindings, breaks +compatibility for existing extensions. + + For Nautilus3, the get_toolbar_items methods have been removed. + + No longer look in the old ~/.nautilus/python-extensions or +/usr/lib/nautilus/extensions2.0/python folders for extensions. +Now look in ~/.local/share/nautilus-python/extensions or +$XDG_DATA_DIR/nautilus-python/extensions. + + Updated the gtk-doc documentation and examples to work with new +dynamic bindings. + +--- +Mon May 2 19:11:03 CEST 2011 - dims...@opensuse.org + +- Update to version 0.7.3: + + Use PyCapsule_Import for pygobject as well as pygtk + + bgo#644399: in the property page example plugin, get the md5sum +of the file contents, not the file name + + Removed extraneous .cvsignore files + + Fixed the update-file-info-async example plugin. + +--- +Mon Mar 21 11:04:20 CET 2011 - dims...@opensuse.org + +- Update to version 0.7.2: + + Fix to get the PyCapsule patch to work even if there is no +PyCapsule object set up for pygtk +- Changes from version 0.7.1: + + bgo#619440: Fixed AM_CHECK_PYTHON_LIBS usage of test + + Cleaned up the docs Makefile.am to make it more consistent + + Fix some python3 syntax issues in the python.m4 script + + bgo#633171: Add python 2.7 support. + +--- calling whatdependson for head-i586 Old: nautilus-python-0.7.0.tar.bz2 New: nautilus-python-1.0.tar.bz2 Other differences: -- ++ python-nautilus.spec ++ --- /var/tmp/diff_new_pack.DWBqFq/_old 2011-05-31 13:43:39.0 +0200 +++ /var/tmp/diff_new_pack.DWBqFq/_new 2011-05-31 13:43:39.0 +0200 @@ -1,5 +1,5 @@ # -# spec file for package python-nautilus (Version 0.7.0) +# spec file for package python-nautilus # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -15,25 +15,22 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: python-nautilus %define _name nautilus-python -Version:0.7.0 -Release:2 -License:LGPL v2 or later +Version:1.0 +Release:1 +License:GPLv2+ Summary:Python bindings for Nautilus Group: Development/Libraries/Python Url:http://git.gnome.org/cgit/nautilus-python/ Source: %{_name}-%{version}.tar.bz2 BuildRequires: gtk-doc -BuildRequires: nautilus-devel BuildRequires: python-devel -BuildRequires: python-gnome-devel -BuildRequires: python-gobject2-doc -BuildRequires: python-gtk-devel -Requires: python-gtk +BuildRequires: pkgconfig(libnautilus-extension) +BuildRequires: pkgconfig(pygobject-2.0) +Requires: python-gobject BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -42,11 +39,10 @@ so that Nautilus functionality can be easily extended. %package devel -License:LGPL v2 or later +License:GPLv2+ Summary:Python bindings for Nautilus - Development Files Group: Development/Libraries/Python Requires: %{name} = %{version} -Requires: python-gtk-devel %description devel Development files needed for writing Nautilus Python extensions @@ -69,7 +65,6 @@ test ! -d %{buildroot}%{_datadir}/nautilus-python/extensions mkdir -p %{buildroot}%{_datadir}/nautilus-python/extensions find %{buildroot} -type f -name *.la -delete -print -mkdir -p %{buildroot}%{_libdir}/nautilus/extensions-2.0/python %clean rm -rf %{buildroot} @@ -77,10 +72,7 @@