diff --git a/python-pyinotify.changes b/python-pyinotify.changes index f50af19..24651cd 100644 --- a/python-pyinotify.changes +++ b/python-pyinotify.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jan 18 14:22:13 UTC 2013 - saschpe@suse.de + +- Avoid using github source link to please factory-auto + ------------------------------------------------------------------- Sun Jan 13 17:11:31 UTC 2013 - p.drouand@gmail.com diff --git a/python-pyinotify.spec b/python-pyinotify.spec index 20ceef0..2838bce 100644 --- a/python-pyinotify.spec +++ b/python-pyinotify.spec @@ -16,26 +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.4 -Release: 1 -License: MIT +Release: 0 Summary: Python module for watching filesystems changes -Url: http://github.com/seb-m/pyinotify +License: MIT Group: Development/Libraries/Python +Url: http://github.com/seb-m/pyinotify # downloaded from https://github.com/seb-m/pyinotify/tags -Source: http://download.github.com/pyinotify-%{version}.tar.gz +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 @@ -61,13 +57,13 @@ notifications. 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 -%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 diff --git a/python3-pyinotify.changes b/python3-pyinotify.changes index 9631c39..4eb3aa5 100644 --- a/python3-pyinotify.changes +++ b/python3-pyinotify.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jan 18 14:22:32 UTC 2013 - saschpe@suse.de + +- Avoid using github source link to please factory-auto + ------------------------------------------------------------------- Sun Jan 13 17:11:43 UTC 2013 - p.drouand@gmail.com diff --git a/python3-pyinotify.spec b/python3-pyinotify.spec index 24304ea..6bc7e8b 100644 --- a/python3-pyinotify.spec +++ b/python3-pyinotify.spec @@ -15,17 +15,17 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: python3-pyinotify Version: 0.9.4 -Release: 1 -License: MIT +Release: 0 Summary: Python module for watching filesystems changes -Url: http://github.com/seb-m/pyinotify +License: MIT Group: Development/Libraries/Python +Url: http://github.com/seb-m/pyinotify # downloaded from https://github.com/seb-m/pyinotify/tags -Source: http://download.github.com/pyinotify-%{version}.tar.gz +Source: pyinotify-%{version}.tar.gz Source1: pyinotify -BuildRequires: perl BuildRequires: python3 BuildRequires: python3-devel BuildRequires: python3-distribute @@ -62,8 +62,7 @@ install -D -m 0755 %{SOURCE1} %{buildroot}%{_bindir}/pyinotify-%{py3_ver} %files %defattr(-,root,root) -%doc ACKS COPYING README.md -%doc python2/examples +%doc ACKS COPYING README.md python2/examples %{_bindir}/pyinotify-%{py3_ver} %{python3_sitelib}/*