rpms/ruby-RRDtool/F-9 RubyRRDtool-0.6.0.patch, NONE, 1.1 import.log, NONE, 1.1 ruby-RRDtool.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jeroen van Meeuwen (kanarip) fedora-extras-commits at redhat.com
Thu Aug 7 11:43:07 UTC 2008


Author: kanarip

Update of /cvs/pkgs/rpms/ruby-RRDtool/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6648/F-9

Modified Files:
	.cvsignore sources 
Added Files:
	RubyRRDtool-0.6.0.patch import.log ruby-RRDtool.spec 
Log Message:
0.6.0-6

RubyRRDtool-0.6.0.patch:

--- NEW FILE RubyRRDtool-0.6.0.patch ---
Common subdirectories: RubyRRDtool-0.6.0.orig/examples and RubyRRDtool-0.6.0/examples
diff -u RubyRRDtool-0.6.0.orig/rubyrrdtool.c RubyRRDtool-0.6.0/rubyrrdtool.c
--- RubyRRDtool-0.6.0.orig/rubyrrdtool.c	2006-10-18 23:44:10.000000000 +0200
+++ RubyRRDtool-0.6.0/rubyrrdtool.c	2008-07-28 18:38:58.000000000 +0200
@@ -22,7 +22,6 @@
 #include <math.h>   /* for isnan */
 #include <ruby.h>
 #include <rrd.h>
-#include "rrd_addition.h"
 
 /* printf debugging */
 #define  R_RRD_DEBUG_OFF 0  /* no debugging   */
@@ -994,7 +993,7 @@
 {
     VALUE   rrd;        /* rrd database filename */
     VALUE   rval;       /* our result */
-    info_t *data, *p;   /* this is what rrd_info()returns */
+    rrd_info_t *data, *p;   /* this is what rrd_info()returns */
 
     reset_rrd_state();
     
Common subdirectories: RubyRRDtool-0.6.0.orig/test and RubyRRDtool-0.6.0/test


--- NEW FILE import.log ---
ruby-RRDtool-0_6_0-6_fc10:F-9:ruby-RRDtool-0.6.0-6.fc10.src.rpm:1218109228


--- NEW FILE ruby-RRDtool.spec ---
%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"]')}

Name:           ruby-RRDtool
Version:        0.6.0
Release:        6%{?dist}
Summary:        RRDTool for Ruby

Group:          Development/Languages
License:        MIT
URL:            http://rubyforge.org/projects/rubyrrdtool/
Source0:        http://rubyforge.org/frs/download.php/13992/RubyRRDtool-%{version}.tgz

%if 0%{?fedora} >= 8
Patch0:         RubyRRDtool-0.6.0.patch
%endif

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  ruby, ruby(abi) = 1.8, ruby-devel, rrdtool-devel
Requires:       ruby(abi) = 1.8, rrdtool
Provides:       ruby(RRDtool) = %{version}

%description
Generate RRDTool Databases from Ruby

%prep
%setup -q -n RubyRRDtool-0.6.0

%if 0%{?fedora} >= 8
%patch0 -p1
%endif

%build
ruby extconf.rb
make %{?_smp_flags}

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{ruby_sitearch}
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc README
%{ruby_sitearch}/RRDtool.so

%changelog
* Mon Jul 28 2008 Jeroen van Meeuwen <kanarip at kanarip.com> 0.6.0-5
- Rebuild for review (#255721)

* Mon Aug 27 2007 Jeroen van Meeuwen <kanarip at kanarip.com> 0.6.0-1
- Initial Build


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ruby-RRDtool/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	5 Aug 2008 16:33:55 -0000	1.1
+++ .cvsignore	7 Aug 2008 11:42:37 -0000	1.2
@@ -0,0 +1 @@
+RubyRRDtool-0.6.0.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ruby-RRDtool/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	5 Aug 2008 16:33:55 -0000	1.1
+++ sources	7 Aug 2008 11:42:37 -0000	1.2
@@ -0,0 +1 @@
+891480757a4cadd53a4c22dfb097b801  RubyRRDtool-0.6.0.tgz




More information about the fedora-extras-commits mailing list