Hello community,

here is the log from the commit of package python-pyinotify for 
openSUSE:Factory checked in at 2013-01-20 14:43:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyinotify (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyinotify.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyinotify", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyinotify/python-pyinotify.changes        
2012-02-22 11:50:59.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyinotify.new/python-pyinotify.changes   
2013-01-20 14:43:24.000000000 +0100
@@ -1,0 +2,16 @@
+Fri Jan 18 14:22:13 UTC 2013 - [email protected]
+
+- Avoid using github source link to please factory-auto
+
+-------------------------------------------------------------------
+Sun Jan 13 17:11:31 UTC 2013 - [email protected]
+
+- Initial python3 support
+
+-------------------------------------------------------------------
+Sun Jan 13 17:10:46 UTC 2013 - [email protected]
+
+- Update to 0.9.4 version
+- Cleanup spec file
+
+-------------------------------------------------------------------
New Changes file:

--- /dev/null   2013-01-09 19:40:42.352580873 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyinotify.new/python3-pyinotify.changes  
2013-01-20 14:43:24.000000000 +0100
@@ -0,0 +1,10 @@
+-------------------------------------------------------------------
+Fri Jan 18 14:22:32 UTC 2013 - [email protected]
+
+- Avoid using github source link to please factory-auto
+
+-------------------------------------------------------------------
+Sun Jan 13 17:11:43 UTC 2013 - [email protected]
+
+- Initial python3 support
+

Old:
----
  seb-m-pyinotify-0.9.1-0-g5d381ce.tar.gz

New:
----
  pyinotify-0.9.4.tar.gz
  python3-pyinotify.changes
  python3-pyinotify.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pyinotify.spec ++++++
--- /var/tmp/diff_new_pack.Awlm4M/_old  2013-01-20 14:43:25.000000000 +0100
+++ /var/tmp/diff_new_pack.Awlm4M/_new  2013-01-20 14:43:25.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyinotify
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -16,28 +16,22 @@
 #
 
 
-%{!?python_sitelib:  %global python_sitelib  %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
-%{!?python_sitearch: %global python_sitearch %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
-
 Name:           python-pyinotify
-Version:        0.9.1
-Release:        1
-License:        MIT
+Version:        0.9.4
+Release:        0
 Summary:        Python module for watching filesystems changes
-Url:            http://github.com/seb-m/pyinotify
+License:        MIT
 Group:          Development/Libraries/Python
-# downloaded from http://github.com/seb-m/pyinotify/tarball/%{version}
-%define tag     5d381ce
-%define subdir  4ad6992
-Source:         
http://download.github.com/seb-m-pyinotify-%{version}-0-g%{tag}.tar.gz
+Url:            http://github.com/seb-m/pyinotify
+# downloaded from https://github.com/seb-m/pyinotify/tags
+Source:         pyinotify-%{version}.tar.gz
 Source1:        pyinotify
-BuildRequires:  perl
 BuildRequires:  python-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} >= 1120
-BuildArch:      noarch
+%if 0%{?suse_version} && 0%{?suse_version} <= 1110
+%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
 %else
-%{py_requires}
+BuildArch:      noarch
 %endif
 
 %description
@@ -56,26 +50,20 @@
 to watch, the kind of events to monitor and the actions to execute on these
 notifications.
 
-Note: pyinotify requires Python 2.3 and above, and Linux 2.6.13 at least.
-
 %prep
-%setup -q -n "seb-m-pyinotify-%{subdir}"
+%setup -q -n pyinotify-%{version}
 
 %build
-export CFLAGS="%{optflags}"
-python ./setup.py build
+python setup.py build
 
 %install
-python ./setup.py install --prefix=%{_prefix} --root=%{buildroot} 
--record-rpm=INSTALLED_FILES
+python ./setup.py install --prefix=%{_prefix} --root=%{buildroot}
 install -D -m 0755 %{SOURCE1} %{buildroot}%{_bindir}/pyinotify
 
-%clean
-rm -rf %{buildroot}
-
-%files -f INSTALLED_FILES
+%files
 %defattr(-,root,root)
-%doc ACKS COPYING README.md
-%doc python2/examples
+%doc ACKS COPYING README.md python2/examples
 %{_bindir}/pyinotify
+%{python_sitelib}/*
 
 %changelog

++++++ python3-pyinotify.spec ++++++
#
# spec file for package python3-pyinotify
#
# Copyright (c) 2013 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#


Name:           python3-pyinotify
Version:        0.9.4
Release:        0
Summary:        Python module for watching filesystems changes
License:        MIT
Group:          Development/Libraries/Python
Url:            http://github.com/seb-m/pyinotify
# downloaded from https://github.com/seb-m/pyinotify/tags
Source:         pyinotify-%{version}.tar.gz
Source1:        pyinotify
BuildRequires:  python3
BuildRequires:  python3-devel
BuildRequires:  python3-distribute
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
pyinotify is a Python module for watching filesystems changes. By its design
pyinotify can be used for any kind of fs monitoring.

pyinotify relies on a recent Linux Kernel feature (merged in kernel 2.6.13)
called inotify. inotify is an event-driven notifier, its notifications are
exported from kernel space to user space. The raw interface of inotify is
compounded of three system calls. pyinotify binds these system calls and
provides an implementation on top of them offering a generic and abstract way
to use inotify with Python. Pyinotify doesn't requires much detailed knowledge
of inotify. Moreover, it only needs few statements for initializing, watching,
handling (eventually trough a new separate thread), and processing events
notifications through subclassing. The only things to know is the path of items
to watch, the kind of events to monitor and the actions to execute on these
notifications.

%prep
%setup -q -n pyinotify-%{version}
# Use the good Python interpreter
sed -i "s|python|python3|g" %{SOURCE1}

%build
python3 setup.py build

%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
install -D -m 0755 %{SOURCE1} %{buildroot}%{_bindir}/pyinotify-%{py3_ver}

%files
%defattr(-,root,root)
%doc ACKS COPYING README.md python2/examples
%{_bindir}/pyinotify-%{py3_ver}
%{python3_sitelib}/*

%changelog
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to