From 400c5fa75a71cc4002e5a1af9cc9874ae14eaa16 Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones Date: Jul 10 2009 22:18:50 +0000 Subject: One file accidentally missed from 1.0.58 release tarball. --- diff --git a/Version.java b/Version.java new file mode 100644 index 0000000..869dc06 --- /dev/null +++ b/Version.java @@ -0,0 +1,35 @@ +/* libguestfs generated file + * WARNING: THIS FILE IS GENERATED BY 'src/generator.ml'. + * ANY CHANGES YOU MAKE TO THIS FILE WILL BE LOST. + * + * Copyright (C) 2009 Red Hat Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +package com.redhat.et.libguestfs; + +/** + * Libguestfs Version structure. + * + * @author rjones + * @see GuestFS + */ +public class Version { + public long major; + public long minor; + public long release; + public String extra; +} diff --git a/libguestfs.spec b/libguestfs.spec index 8af3023..acf6a4f 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -4,13 +4,15 @@ Summary: Access and modify virtual machine disk images Name: libguestfs Version: 1.0.58 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2+ Group: Development/Libraries URL: http://libguestfs.org/ Source0: http://libguestfs.org/download/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +Source1: Version.java + # Basic build requirements: BuildRequires: /usr/bin/pod2man BuildRequires: /usr/bin/pod2text @@ -272,6 +274,9 @@ Requires: jpackage-utils %prep %setup -q +# Accidentally missed from 1.0.58, remove in 1.0.59+ +cp -i %{SOURCE1} java/com/redhat/et/libguestfs/ + mkdir -p daemon/m4 @@ -527,7 +532,7 @@ rm -rf $RPM_BUILD_ROOT %changelog -* Fri Jul 10 2009 Richard W.M. Jones - 1.0.58-1 +* Fri Jul 10 2009 Richard W.M. Jones - 1.0.58-2 - New upstream release 1.0.58. * Fri Jul 10 2009 Richard W.M. Jones - 1.0.57-1