forked from pool/python-pyinotify
- 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:
committed by
Git OBS Bridge
parent
72fe1eea74
commit
f1e31c51e5
@@ -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
|
Sun Jan 13 17:11:31 UTC 2013 - p.drouand@gmail.com
|
||||||
|
|
||||||
|
@@ -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
|
Name: python-pyinotify
|
||||||
Version: 0.9.4
|
Version: 0.9.4
|
||||||
Release: 1
|
Release: 0
|
||||||
License: MIT
|
|
||||||
Summary: Python module for watching filesystems changes
|
Summary: Python module for watching filesystems changes
|
||||||
Url: http://github.com/seb-m/pyinotify
|
License: MIT
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
|
Url: http://github.com/seb-m/pyinotify
|
||||||
# downloaded from https://github.com/seb-m/pyinotify/tags
|
# 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
|
Source1: pyinotify
|
||||||
BuildRequires: perl
|
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} >= 1120
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
BuildArch: noarch
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
%else
|
%else
|
||||||
%{py_requires}
|
BuildArch: noarch
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -61,13 +57,13 @@ notifications.
|
|||||||
python setup.py build
|
python setup.py build
|
||||||
|
|
||||||
%install
|
%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
|
install -D -m 0755 %{SOURCE1} %{buildroot}%{_bindir}/pyinotify
|
||||||
|
|
||||||
%files -f INSTALLED_FILES
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc ACKS COPYING README.md
|
%doc ACKS COPYING README.md python2/examples
|
||||||
%doc python2/examples
|
|
||||||
%{_bindir}/pyinotify
|
%{_bindir}/pyinotify
|
||||||
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -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
|
Sun Jan 13 17:11:43 UTC 2013 - p.drouand@gmail.com
|
||||||
|
|
||||||
|
@@ -15,17 +15,17 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: python3-pyinotify
|
Name: python3-pyinotify
|
||||||
Version: 0.9.4
|
Version: 0.9.4
|
||||||
Release: 1
|
Release: 0
|
||||||
License: MIT
|
|
||||||
Summary: Python module for watching filesystems changes
|
Summary: Python module for watching filesystems changes
|
||||||
Url: http://github.com/seb-m/pyinotify
|
License: MIT
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
|
Url: http://github.com/seb-m/pyinotify
|
||||||
# downloaded from https://github.com/seb-m/pyinotify/tags
|
# 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
|
Source1: pyinotify
|
||||||
BuildRequires: perl
|
|
||||||
BuildRequires: python3
|
BuildRequires: python3
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-distribute
|
BuildRequires: python3-distribute
|
||||||
@@ -62,8 +62,7 @@ install -D -m 0755 %{SOURCE1} %{buildroot}%{_bindir}/pyinotify-%{py3_ver}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc ACKS COPYING README.md
|
%doc ACKS COPYING README.md python2/examples
|
||||||
%doc python2/examples
|
|
||||||
%{_bindir}/pyinotify-%{py3_ver}
|
%{_bindir}/pyinotify-%{py3_ver}
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user