[python-bibtex] Update to 1.2.6

Zoltan Kota zkota at fedoraproject.org
Fri Jan 24 13:31:47 UTC 2014


commit 1e3e011aeef96346097ab1195db9ac280989fea5
Author: Zoltan Kota <zoltank at gmail.com>
Date:   Fri Jan 24 14:32:00 2014 +0100

    Update to 1.2.6

 .gitignore         |    1 +
 python-bibtex.spec |   25 +++++++++++--------------
 sources            |    2 +-
 3 files changed, 13 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d7a6477..2474530 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 python-bibtex-1.2.5.tar.gz
+/python-bibtex-1.2.6.tar.gz
diff --git a/python-bibtex.spec b/python-bibtex.spec
index 83c6e7a..73775e9 100644
--- a/python-bibtex.spec
+++ b/python-bibtex.spec
@@ -1,16 +1,13 @@
-%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-
 Summary: Python extension to parse BibTeX files
 Name: python-bibtex
-Version: 1.2.5
-Release: 7%{?dist}
+Version: 1.2.6
+Release: 1%{?dist}
 License: GPLv2+
 Group: Development/Libraries
-Source: http://downloads.sourceforge.net/pybliographer/python-bibtex-1.2.5.tar.gz
-Url: http://www.pybliographer.org/
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source: http://downloads.sourceforge.net/pybliographer/python-bibtex-1.2.6.tar.gz
+URL: http://www.pybliographer.org/
 
-BuildRequires: python-devel
+BuildRequires: python2-devel
 BuildRequires: glib2-devel
 BuildRequires: recode-devel
 
@@ -25,22 +22,22 @@ This module contains two extensions needed for pybliographer:
 %setup -q
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+CFLAGS="$RPM_OPT_FLAGS" %{__python2} setup.py build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install --root $RPM_BUILD_ROOT
+%{__python2} setup.py install --root $RPM_BUILD_ROOT
 
-%clean
-rm -rf $RPM_BUILD_ROOT
 
 %files
-%defattr(-,root,root,-)
 %doc ChangeLog NEWS README
 %{python_sitearch}/*
 
 
 %changelog
+* Fri Jan 24 2014 Zoltan Kota <zoltank at gmail.com> - 1.2.6-1
+- update to 1.2.6, fixes bug #1037261
+- spec file cleanup
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.5-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 9084ef7..57ec567 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f65081935c731b916b0aeb10aeea45ff  python-bibtex-1.2.5.tar.gz
+210f3204292c2d0426379f91a0a6f0f5  python-bibtex-1.2.6.tar.gz


More information about the scm-commits mailing list