[pygtkchart] * Wed Jun 26 2013 Fabian Affolter <mail at fabian-affolter.ch> - 0-0.6.gitg8a56364 - Spec file updated

Fabian Affolter fab at fedoraproject.org
Thu Jun 27 08:15:37 UTC 2013


commit eb831a5f07e5a625ec4c1ff07654cc5ca1fcfded
Author: Fabian Affolter <mail at fabian-affolter.ch>
Date:   Thu Jun 27 10:15:22 2013 +0200

    * Wed Jun 26 2013 Fabian Affolter <mail at fabian-affolter.ch> - 0-0.6.gitg8a56364
    - Spec file updated

 pygtkchart.spec |   25 +++++--------------------
 1 files changed, 5 insertions(+), 20 deletions(-)
---
diff --git a/pygtkchart.spec b/pygtkchart.spec
index 39c42d5..d09f07a 100644
--- a/pygtkchart.spec
+++ b/pygtkchart.spec
@@ -1,7 +1,3 @@
-%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
-%endif
-
 %global git g8a56364
 
 Name:           pygtkchart
@@ -9,13 +5,11 @@ Version:        0
 Release:        0.5.git%{git}%{?dist}
 Summary:        A GTK chart widget written in Python
 
-Group:          Applications/System
 License:        GPLv2+
 URL:            http://notmyname.github.com/pygtkChart/
 Source0:        https://github.com/notmyname/pygtkChart/tarball/beta/notmyname-pygtkChart-beta-0-%{git}.tar.gz
 # This patch fixes some paths for Fedora
 Patch0:         %{name}-path.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
 BuildRequires:  python2-devel
@@ -23,7 +17,6 @@ BuildRequires:  python-setuptools
 
 Requires:       pygtk2
 
-
 %description
 pygtkChart is a Python package that provides PyGTK widgets to simply
 integrate charts into a GTK application. Currently pygtkChart comes
@@ -38,36 +31,28 @@ or titles on a chart can be accessed and modified separately.
 Colors, backgrounds and many more properties can be modified for each
 object. 
 
-
 %prep
 %setup -q -n notmyname-pygtkChart-cb24da7
 %patch0 -p1 -b .path 
 sed -i -e '/^#!\//, 1d' src/pygtk_chart/*.py
 chmod -x examples/*.py
 
-
 %build
 %{__python} setup.py build
 
-
 %install
-rm -rf %{buildroot}
 %{__python} setup.py install -O1 --skip-build --root=%{buildroot}
 
-
-%clean
-rm -rf %{buildroot}
-
-
 %files
-%defattr(-,root,root,-)
 %doc doc/ examples/
 %{python_sitelib}/pygtk_chart/
 %{python_sitelib}/pygtkChart-beta*.egg-info
 %{_datadir}/%{name}/
 
-
 %changelog
+* Wed Jun 26 2013 Fabian Affolter <mail at fabian-affolter.ch> - 0-0.6.gitg8a56364
+- Spec file updated
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0-0.5.gitg8a56364
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
@@ -77,10 +62,10 @@ rm -rf %{buildroot}
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0-0.3.gitg8a56364
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
-* Sat May 21 2011 Fabian Affolter <fabian at bernewireless.net> - 0-0.2.gitg8a56364
+* Sat May 21 2011 Fabian Affolter <mail at fabian-affolter.ch> - 0-0.2.gitg8a56364
 - Fixed naming
 - Fixed directory ownership
 - Patch renamed and comment added
 
-* Sun Mar 27 2011 Fabian Affolter <fabian at bernewireless.net> - 0-0.gitg8a56364
+* Sun Mar 27 2011 Fabian Affolter <mail at fabian-affolter.ch> - 0-0.gitg8a56364
 - Initial package for Fedora


More information about the scm-commits mailing list