[python-gudev] Update to latest upstream
Stanislav Ochotnicky
sochotni at fedoraproject.org
Thu Jul 21 09:04:53 UTC 2011
commit 47df2199fc9c8b8b7c4435ffc3130e5619b24f48
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date: Thu Jul 21 11:03:28 2011 +0200
Update to latest upstream
...hen-freeing-result-of-g_udev_client_query.patch | 49 --------------------
python-gudev.spec | 24 ++++-----
2 files changed, 11 insertions(+), 62 deletions(-)
---
diff --git a/python-gudev.spec b/python-gudev.spec
index 048f430..07d20b0 100644
--- a/python-gudev.spec
+++ b/python-gudev.spec
@@ -4,22 +4,22 @@
%{!?python_sitearch: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib(1))")}
%endif
-%global srcname nzjrs-python-gudev-5fac65a
Summary: Python (PyGObject) bindings to the GUDev library
Name: python-gudev
URL: http://github.com/nzjrs/python-gudev
+
+Version: 147.2
+Release: 1%{?dist}
+
+%global srcname nzjrs-python-gudev-%{version}-0-ga9f8dd2
+%global dirname nzjrs-python-gudev-ee8a644
+
# Tar.gz can be downloaded from
# http://github.com/nzjrs/python-gudev/tarball/%{version}
Source0: %{srcname}.tar.gz
-
-# patch from upstream
-Patch0: 0001-Fix-crash-when-freeing-result-of-g_udev_client_query.patch
-Version: 147.1
-Release: 7%{?dist}
Group: Development/Libraries
License: LGPLv3+
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: libgudev1 >= 147
Requires: pygobject2
BuildRequires: python-devel
@@ -32,17 +32,13 @@ BuildRequires: pygobject2-devel
python-gudev is a Python (PyGObject) binding to the GUDev UDEV library.
%prep
-%setup -q -n %{srcname}
-
-# override fuzzy to 1 so that patch can be applied
-%patch0 -F1 -p1
+%setup -q -n %{dirname}
%build
sh autogen.sh --prefix %{_prefix} --disable-static
make %{?_smp_mflags} CFLAGS="%{optflags}"
%install
-rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
find $RPM_BUILD_ROOT -name gudev.la | xargs rm
@@ -54,13 +50,15 @@ find $RPM_BUILD_ROOT -name gudev.la | xargs rm
rm -rf $RPM_BUILD_ROOT
%files
-%defattr(-,root,root,-)
%doc COPYING README NEWS
%doc test.py
%{python_sitearch}/*
%{_datadir}/*
%changelog
+* Thu Jul 21 2011 Stanislav Ochotnicky <sochotnicky at redhat.com> - 147.2-1
+- Update to latest upstream
+
* Thu Jul 21 2011 Stanislav Ochotnicky <sochotnicky at redhat.com> - 147.1-7
- Added upstream patch
- Resolves: rhbz#637084,rhbz#723795
More information about the scm-commits
mailing list