rpms/python-openhpi/devel .cvsignore, 1.2, 1.3 python-openhpi.spec, 1.4, 1.5 sources, 1.2, 1.3
Dan Horák
sharkcz at fedoraproject.org
Fri Jan 15 08:48:37 UTC 2010
Author: sharkcz
Update of /cvs/pkgs/rpms/python-openhpi/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10291
Modified Files:
.cvsignore python-openhpi.spec sources
Log Message:
* Fri Jan 15 2010 Dan Horak <dan[at]danny.cz> 1.2-0.1.20090109svn6930
- update to svn 6930
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-openhpi/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- .cvsignore 28 Apr 2008 08:51:11 -0000 1.2
+++ .cvsignore 15 Jan 2010 08:48:36 -0000 1.3
@@ -1 +1 @@
-py-openhpi-1.1.tar.gz
+python-openhpi-svn6930.tar.bz2
Index: python-openhpi.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-openhpi/devel/python-openhpi.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- python-openhpi.spec 26 Jul 2009 20:46:28 -0000 1.4
+++ python-openhpi.spec 15 Jan 2010 08:48:36 -0000 1.5
@@ -1,15 +1,21 @@
-%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
+%global srcname py-openhpi
+%global svnrev 6930
+%global svndate 20090109
-%define srcname py-openhpi
Name: python-openhpi
-Version: 1.1
-Release: 4%{?dist}
+Version: 1.2
+Release: 0.1.%{svndate}svn%{svnrev}%{?dist}
Summary: Python interface for OpenHPI
Group: Development/Languages
License: BSD
URL: http://www.openhpi.org
-Source0: http://downloads.sourceforge.net/openhpi/%{srcname}-%{version}.tar.gz
+#Source0: http://downloads.sourceforge.net/openhpi/%{srcname}-%{version}.tar.gz
+# fedora-getsvn %{name} https://openhpi.svn.sourceforge.net/svnroot/openhpi/python/trunk %{svnrev}
+Source0: %{name}-svn%{svnrev}.tar.bz2
+Patch0: %{name}-totaltests.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel, swig, glib2-devel, openhpi-devel >= 2.10
@@ -21,11 +27,15 @@ HPI api functions and structures from th
It supports everything that is exposed through SaHpi.h,
SaHpiAtca.h, SaHpiBladeCenter.h, oHpi.h, and oh_utils.h.
+
%prep
-%setup -q -n %{srcname}-%{version}
+%setup -q -n %{name}
+%patch0 -p1
%build
+# the build must be run twice otherwise "openhpi.py" doesn't get installed properly
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
@@ -46,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Fri Jan 15 2010 Dan Horak <dan[at]danny.cz> 1.2-0.1.20090109svn6930
+- update to svn 6930
+
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-openhpi/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sources 28 Apr 2008 08:51:11 -0000 1.2
+++ sources 15 Jan 2010 08:48:36 -0000 1.3
@@ -1 +1 @@
-37cf9b0f2b22fea67c54cb6b638a1b27 py-openhpi-1.1.tar.gz
+1682d7e1d8e2090fe29f2ccd28855c74 python-openhpi-svn6930.tar.bz2
More information about the scm-commits
mailing list