Compare commits

..

No commits in common. "rawhide" and "f18" have entirely different histories.

4 changed files with 86 additions and 1 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/virt-dmesg-0.2.0.tar.gz
/virt-dmesg-0.3.0.tar.gz

View file

@ -1 +0,0 @@
This package does not work with modern kernels, and needs considerable modifications to make it work. Suggest looking into http://libvmi.com/ if a similar capability is required.

1
sources Normal file
View file

@ -0,0 +1 @@
ec12c9ef819a2db48ece74f69f3ee1ce virt-dmesg-0.3.0.tar.gz

83
virt-dmesg.spec Normal file
View file

@ -0,0 +1,83 @@
%define debug_package %{nil}
Name: virt-dmesg
Version: 0.3.0
Release: 6%{?dist}
Summary: Print kernel messages from a Linux virtual machine
Group: Development/Libraries
License: GPLv2+
URL: http://people.redhat.com/~rjones/virt-dmesg/
Source0: http://people.redhat.com/~rjones/virt-dmesg/files/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ocaml >= 3.10.2
BuildRequires: ocaml-ocamldoc
BuildRequires: ocaml-findlib-devel
BuildRequires: ocaml-libvirt-devel
BuildRequires: zlib-devel
BuildRequires: libvirt-devel
# Force libvirt that contains several fixes for virDomainMemoryPeek.
Requires: libvirt >= 0.9.1-3
ExclusiveArch: %{ocaml_arches}
%description
virt-dmesg prints the kernel messages from a running Linux virtual
machine. It is like dmesg(1) except that it works on virtual machines
instead of the host.
%prep
%setup -q
%build
%configure
make all
strip src/virt-dmesg
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING README TODO
%{_bindir}/virt-dmesg
%{_bindir}/virt-uname
%{_mandir}/man1/virt-dmesg.1*
%{_mandir}/man1/virt-uname.1*
%changelog
* Fri Dec 14 2012 Richard W.M. Jones <rjones@redhat.com> - 0.3.0-6
- Rebuild for OCaml 4.00.1.
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Mon Jun 11 2012 Richard W.M. Jones <rjones@redhat.com> - 0.3.0-4
- Rebuild for OCaml 4.00.0.
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Wed Oct 26 2011 Dan Horák <dan[at]danny.cz> - 0.3.0-2
- set supported arches
* Tue Jun 21 2011 Richard W.M. Jones <rjones@redhat.com> - 0.3.0-1
- New upstream version 0.3.0.
- Add TODO file to doc.
* Mon Jun 20 2011 Richard W.M. Jones <rjones@redhat.com> - 0.2.0-1
- Added to Fedora.