Hello community,

here is the log from the commit of package pyrex for openSUSE:Factory checked 
in at 2012-06-14 22:53:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pyrex (Old)
 and      /work/SRC/openSUSE:Factory/.pyrex.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pyrex", Maintainer is "thoe...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/pyrex/pyrex.changes      2011-09-23 
12:42:15.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.pyrex.new/pyrex.changes 2012-06-14 
22:53:41.000000000 +0200
@@ -1,0 +2,12 @@
+Thu Jun 14 13:10:48 UTC 2012 - toddrme2...@gmail.com
+
+- Spec file cleanups
+
+-------------------------------------------------------------------
+Thu Jun 14 09:42:32 UTC 2012 - cfarr...@suse.com
+
+- license update: Apache-2.0
+  License.txt expressly gives the choice to declare Apache-2.0 as the
+  license of the package
+
+-------------------------------------------------------------------

Old:
----
  Pyrex-0.9.9.tar.bz2

New:
----
  Pyrex-0.9.9.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pyrex.spec ++++++
--- /var/tmp/diff_new_pack.7XoDVR/_old  2012-06-14 22:53:43.000000000 +0200
+++ /var/tmp/diff_new_pack.7XoDVR/_new  2012-06-14 22:53:43.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package pyrex (Version 0.9.9)
+# spec file for package pyrex
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,48 +15,47 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
-
 Name:           pyrex
-BuildRequires:  pkgconfig python-devel
-Url:            http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
-License:        Use, redistribute, modify, distribute modified versions
-Group:          Development/Languages/Python
 Version:        0.9.9
-Release:        1
-AutoReqProv:    on
+Release:        0
 Summary:        Compiles code that mixes Python and C data types into a C 
extension for Python
-Source0:        Pyrex-%{version}.tar.bz2
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{py_requires}
-
+License:        Apache-2.0
+Group:          Development/Languages/Python
+Url:            http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
+Source0:        
http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/Pyrex-%{version}.tar.gz
 Patch0:         pyrex-no-buildtime.patch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  pkgconfig
+BuildRequires:  python-devel
+%if 0%{?suse_version} <= 1110
+%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%else
+BuildArch:      noarch
+%py_requires
+%endif
 
 %description
 Pyrex is a language specially designed for writing Python extension
 modules. It's designed to bridge the gap between the nice, high-level,
 easy-to-use world of Python and the messy, low-level world of C.
 
-
-Authors:
---------
-    Greg Ewing (g...@cosc.canterbury.ac.nz )
-
 %prep
-%setup -n Pyrex-%{version} -q
+%setup -q -n Pyrex-%{version}
 %patch0 -p1
 
 %build
-export CFLAGS="$RPM_OPT_FLAGS" 
+export CFLAGS="%{optflags}" 
 python setup.py build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT 
--record-rpm=INSTALLED_FILES
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
-%files -f INSTALLED_FILES
-%defattr(-, root, root)
+%files
+%defattr(-,root,root)
 %doc *.txt Doc/*
 %doc Demos 
+%{_bindir}/pyrexc
+%{python_sitelib}/Pyrex-%{version}-py%{py_ver}.egg-info
+%{python_sitelib}/Pyrex/
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to