- Avoid using github source link to please factory-auto

- Avoid using github source link to please factory-auto

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyinotify?expand=0&rev=18
This commit is contained in:
Sascha Peilicke 2013-01-18 14:20:51 +00:00 committed by Git OBS Bridge
parent 72fe1eea74
commit f1e31c51e5
4 changed files with 27 additions and 22 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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}/*