rpms/rrdtool/FC-4 rrdtool-1.2.15-initrrdtool.patch, 1.1, 1.2 rrdtool.spec, 1.20, 1.21

Jarod Wilson (jwilson) fedora-extras-commits at redhat.com
Wed Aug 2 14:43:15 UTC 2006


Author: jwilson

Update of /cvs/extras/rpms/rrdtool/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18048/FC-4

Modified Files:
	rrdtool-1.2.15-initrrdtool.patch rrdtool.spec 
Log Message:
- One more addition to initrrdtool patch, to fully revert
  and correct upstream changeset 839
- Sync fix for no python in minimal fc4 buildroots



rrdtool-1.2.15-initrrdtool.patch:

Index: rrdtool-1.2.15-initrrdtool.patch
===================================================================
RCS file: /cvs/extras/rpms/rrdtool/FC-4/rrdtool-1.2.15-initrrdtool.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- rrdtool-1.2.15-initrrdtool.patch	1 Aug 2006 19:55:55 -0000	1.1
+++ rrdtool-1.2.15-initrrdtool.patch	2 Aug 2006 14:43:15 -0000	1.2
@@ -1,24 +1,23 @@
---- rrdtool-1.2.15/bindings/python/rrdtoolmodule.c.initrrdtool	2006-07-14 08:11:26.000000000 -0400
-+++ rrdtool-1.2.15/bindings/python/rrdtoolmodule.c	2006-08-01 15:21:49.000000000 -0400
-@@ -48,8 +48,8 @@
+diff -ur rrdtool-1.2.15.orig/bindings/python/rrdtoolmodule.c rrdtool-1.2.15/bindings/python/rrdtoolmodule.c
+--- rrdtool-1.2.15.orig/bindings/python/rrdtoolmodule.c	2006-07-14 08:11:26.000000000 -0400
++++ rrdtool-1.2.15/bindings/python/rrdtoolmodule.c	2006-08-02 10:20:38.000000000 -0400
+@@ -48,8 +48,7 @@
  extern int opterr;
  
  /* forward declaration to keep compiler happy */
 -/*void initrrdtool(void);*/
 -void initrrdtoolmodule(void);
 +void initrrdtool(void);
-+/*void initrrdtoolmodule(void);*/
  
  static int
  create_args(char *command, PyObject *args, int *argc, char ***argv)
-@@ -518,13 +518,13 @@
+@@ -518,19 +517,18 @@
  
  /* Initialization function for the module */
  void
 -/*initrrdtool(void)*/
 -initrrdtoolmodule(void)
 +initrrdtool(void)
-+/*initrrdtoolmodule(void)*/
  {
      PyObject    *m, *d, *t;
  
@@ -28,3 +27,10 @@
  
      /* Add some symbolic constants to the module */
      d = PyModule_GetDict(m);
+ 
+     SET_STRCONSTANT(d, __version__);
+-    ErrorObject = PyErr_NewException("rrdtoolmodule.error", NULL, NULL);
++    ErrorObject = PyErr_NewException("rrdtool.error", NULL, NULL);
+     PyDict_SetItemString(d, "error", ErrorObject);
+ 
+     /* Check for errors */


Index: rrdtool.spec
===================================================================
RCS file: /cvs/extras/rpms/rrdtool/FC-4/rrdtool.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- rrdtool.spec	1 Aug 2006 20:46:43 -0000	1.20
+++ rrdtool.spec	2 Aug 2006 14:43:15 -0000	1.21
@@ -4,7 +4,7 @@
 Summary: Round Robin Database Tool to store and display time-series data
 Name: rrdtool
 Version: 1.2.15
-Release: 2%{?dist}.3
+Release: 3%{?dist}
 License: GPL
 Group: Applications/Databases
 URL: http://people.ee.ethz.ch/~oetiker/webtools/%{name}/
@@ -222,15 +222,10 @@
 %{php_extdir}/rrdtool.so
 
 %changelog
-* Tue Aug  1 2006 Jarod Wilson <jwilson at redhat.com> 1.2.15-2.3
-- Third time's a charm?
-
-* Tue Aug  1 2006 Jarod Wilson <jwilson at redhat.com> 1.2.15-2.2
-- Last change wasn't the correct route, take 2...
-
-* Tue Aug  1 2006 Jarod Wilson <jwilson at redhat.com> 1.2.15-2.1
-- Minimal FC4 buildroots don't include python, so add it as
-  a BuildRequires.
+* Wed Aug 02 2006 Jarod Wilson <jwilson at redhat.com> 1.2.15-3
+- One more addition to initrrdtool patch, to fully revert
+  and correct upstream changeset 839
+- Fix for no python in minimal fc4 buildroots
 
 * Tue Aug  1 2006 Mihai Ibanescu <misa at redhat.com> 1.2.15-2
 - Fixed rrdtool-python to import the module properly (patch




More information about the scm-commits mailing list