terjeros pushed to python-inotify (f21). "0.9.5"
notifications at fedoraproject.org
notifications at fedoraproject.org
Mon Apr 13 18:58:38 UTC 2015
>From eb84f20e8e438a70aa778c80e06a255ee0fe3195 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Terje=20R=C3=B8sten?= <terje.rosten at ntnu.no>
Date: Mon, 13 Apr 2015 20:54:36 +0200
Subject: 0.9.5
diff --git a/.gitignore b/.gitignore
index e05a944..cff0036 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ pyinotify-0.9.0.tar.gz
/pyinotify-0.9.2.tar.gz
/pyinotify-0.9.3.tar.gz
/pyinotify-0.9.4.tar.gz
+/pyinotify-0.9.5.tar.gz
diff --git a/python-inotify.spec b/python-inotify.spec
index d99f40e..19a89d4 100644
--- a/python-inotify.spec
+++ b/python-inotify.spec
@@ -1,26 +1,21 @@
-%if 0%{?fedora}
-%global with_python3 1
-%endif
-
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")}
-
+%global with_python3 1
%global oname pyinotify
Summary: Monitor filesystem events with Python under Linux
Name: python-inotify
-Version: 0.9.4
-Release: 6%{?dist}
+Version: 0.9.5
+Release: 1%{?dist}
License: MIT
Group: Development/Libraries
URL: https://github.com/seb-m/pyinotify
Source0: http://seb.dbzteam.org/pub/pyinotify/releases/pyinotify-%{version}.tar.gz
Source1: %{oname}
BuildRequires: python-devel
+BuildRequires: gmp-devel
%if 0%{?with_python3}
BuildRequires: python3-devel
%endif
BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
This is a Python module for watching filesystems changes. pyinotify
@@ -54,14 +49,13 @@ This is the Python 3 build of pyinotify
%prep
%setup -q -n %{oname}-%{version}
-
%if 0%{?with_python3}
%{__rm} -rf %{py3dir}
cp -a . %{py3dir}
%endif
%build
-%{__python} setup.py build
+%{__python2} setup.py build
%if 0%{?with_python3}
pushd %{py3dir}
@@ -70,51 +64,44 @@ popd
%endif
%install
-%{__rm} -rf %{buildroot}
-
# Install python 3 first, so that python 2 gets precedence:
%if 0%{?with_python3}
pushd %{py3dir}
%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
-%{__install} -D -m 0755 -p %{SOURCE1} %{buildroot}%{_bindir}/python3-%{oname}
-%{__sed} -i -e 's/^python /python3 /' %{buildroot}%{_bindir}/python3-%{oname}
-%{__chmod} 0755 %{buildroot}%{python3_sitelib}/%{oname}.py
+install -D -m 0755 -p %{SOURCE1} %{buildroot}%{_bindir}/python3-%{oname}
+sed -i -e 's/^python /python3 /' %{buildroot}%{_bindir}/python3-%{oname}
+chmod 0755 %{buildroot}%{python3_sitelib}/%{oname}.py
popd
%endif
-%{__python} setup.py install -O1 --skip-build --root %{buildroot}
-%{__install} -D -m 0755 -p %{SOURCE1} %{buildroot}%{_bindir}/%{oname}
-%{__chmod} 0755 %{buildroot}%{python_sitelib}/%{oname}.py
+%{__python2} setup.py install -O1 --skip-build --root %{buildroot}
+install -D -m 0755 -p %{SOURCE1} %{buildroot}%{_bindir}/%{oname}
+chmod 0755 %{buildroot}%{python_sitelib}/%{oname}.py
# examples
-%{__install} -d -m 0755 %{buildroot}%{_datadir}/%{oname}
-%{__cp} -a python2/examples/* %{buildroot}%{_datadir}/%{oname}
-
-%clean
-%{__rm} -rf %{buildroot}
+install -d -m 0755 %{buildroot}%{_datadir}/%{oname}
+cp -a python2/examples/* %{buildroot}%{_datadir}/%{oname}
%files
-%defattr(-, root, root, -)
%doc ACKS COPYING README.md
%{_bindir}/%{oname}
%{python_sitelib}/%{oname}*
%files examples
-%defattr(-, root, root, -)
%{_datadir}/%{oname}
%if 0%{?with_python3}
%files -n python3-inotify
-%defattr(-, root, root, -)
%doc ACKS COPYING README.md
%{_bindir}/python3-%{oname}
%{python3_sitelib}/%{oname}*
-%if 0%{?fedora} > 14
%{python3_sitelib}/__pycache__/%{oname}*
%endif
-%endif
%changelog
+* Mon Apr 13 2015 Terje Rosten <terje.rosten at ntnu.no> - 0.9.5-1
+- 0.9.5
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
@@ -178,7 +165,7 @@ popd
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.8.1-2.git20090208
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
-* Sat Feb 8 2009 Terje Rosten <terje.rosten at ntnu.no> - 0.8.1-1.git20090208
+* Sun Feb 8 2009 Terje Rosten <terje.rosten at ntnu.no> - 0.8.1-1.git20090208
- 0.8.1
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 0.8.0-4.r
diff --git a/sources b/sources
index 28fee3e..dcef819 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-701c91854d241514ede7ffe72086566d pyinotify-0.9.4.tar.gz
+e4f742b2d12cc404e751d11afb8f01d5 pyinotify-0.9.5.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/python-inotify.git/commit/?h=f21&id=eb84f20e8e438a70aa778c80e06a255ee0fe3195
More information about the scm-commits
mailing list