One file accidentally missed from 1.0.58 release tarball.

This commit is contained in:
Richard W.M. Jones 2009-07-10 22:18:53 +00:00
parent 585a4fbfc1
commit d3b8860fbb
2 changed files with 42 additions and 2 deletions

35
Version.java Normal file
View File

@ -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;
}

View File

@ -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
@ -270,6 +272,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
@ -525,7 +530,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Jul 10 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.58-1
* Fri Jul 10 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.58-2
- New upstream release 1.0.58.
* Fri Jul 10 2009 Richard W.M. Jones <rjones@redhat.com> - 1.0.57-1