From: compudj Date: Fri, 7 Jul 2006 19:43:29 +0000 (+0000) Subject: update parser X-Git-Tag: v0.12.20~1501 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=915cab8162e47678400a5cf6f6849ec7cce4fb98;p=lttv.git update parser git-svn-id: http://ltt.polymtl.ca/svn@1988 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/genevent/parser.c b/genevent/parser.c index ab24a6c2..2d6b27d5 100644 --- a/genevent/parser.c +++ b/genevent/parser.c @@ -998,7 +998,7 @@ type_descriptor_t * find_named_type(char *name, table_t * named_types) { type_descriptor_t *t; - t = table_find(named_types,name); + t = (type_descriptor_t*)table_find(named_types,name); return t; } diff --git a/genevent/specs/genevent.spec b/genevent/specs/genevent.spec new file mode 100644 index 00000000..7550e627 --- /dev/null +++ b/genevent/specs/genevent.spec @@ -0,0 +1,31 @@ +# +# Spec file for genevent +# +Summary: Genevent package +Name: genevent +Version: 0.22 +License: GPL +Release: 1 +Group: Applications/Development +Source: http://ltt.polymtl.ca/packages/%{name}-%{version}.tar.gz +URL: http://ltt.polymtl.ca +Packager: Martin Bisson +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + + +%description +This packages contains the facility code generator. + +%prep +%setup -q + +%build +make + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT $RPM_BUILD_ROOT/usr/bin +cp genevent $RPM_BUILD_ROOT/usr/bin/genevent + +%files +/usr/bin/genevent