1
0
mirror of synced 2026-02-19 21:35:10 +00:00

Compare commits

...

12 Commits

Author SHA1 Message Date
Axel Beckert
d9f8a3fc31 Release 4.3 2012-06-27 00:03:56 +02:00
Axel Beckert
5703f8b5c9 Remove generated file t/modules.t in clean target
Otherwise the package wouldn't build twice in a row.

It didn't hurt while developing since it's listed in .gitignore. :-)
2012-06-27 00:03:56 +02:00
Axel Beckert
f67c7e25c8 Don't remove stamp files manually, dh_clean does that already 2012-06-27 00:03:56 +02:00
Axel Beckert
8dbd0ef7dc Switch to source format to "3.0 (quilt)" 2012-06-26 22:32:52 +02:00
Axel Beckert
58a050218f Remove most Mercurial traces 2012-06-08 21:45:49 +02:00
Axel Beckert
3ce7398cf6 Add bug report reference to FTBFS in testsuite 2012-06-08 21:28:28 +02:00
Axel Beckert
0ec64f6926 Rewrite current changelog entry; start new NEWS entry 2012-06-08 20:36:34 +02:00
Axel Beckert
fa9a420490 Add build-dependency on git for t/gitignore.t 2012-06-08 20:31:05 +02:00
Axel Beckert
c212cfb08f Add build-dependency on Test::Pod::Coverage for t/pod-coverage.t 2012-06-08 18:54:53 +02:00
Axel Beckert
c400b6644a Add build-dependency on Moose for t/perl-syntax.t 2012-06-08 18:51:28 +02:00
Axel Beckert
917d3d6b2a Skip t/hook-inittab.t if /etc/inittab is not present
Fixes FTBFS on Ubuntu.
2012-06-08 18:41:58 +02:00
Axel Beckert
8ba16d0e7a Disable tests of not yet used Xen::Tools perl modules.
Fixes FTBFS in test suite due to not satisifed Moose dependency in
Xen::Tools::Log.
2012-06-08 17:37:28 +02:00
22 changed files with 65 additions and 41 deletions

1
.gitignore vendored
View File

@@ -5,7 +5,6 @@
.*
# but we _wan't_ those dot-files
!.gitignore
!.hgignore
!.mailmap
# ChangeLog is generated during make

View File

@@ -1,5 +0,0 @@
(^|/)CVS($|/)
(^|/)\.hg($|/)
(^|/)\.hgtags($|/)
ChangeLog
~$

View File

@@ -14,12 +14,10 @@
#
TMP ?= /tmp
DIST_PREFIX = ${TMP}
VERSION = 4.3rc1
VERSION = 4.3
DEBVERSION = $(shell echo $(VERSION)|sed 's/\(rc\|pre\|beta\|alpha\)/~\1/')
BASE = xen-tools
VCS = $(shell if git ls-files > /dev/null; then echo git; \
elif hg st > /dev/null; then echo hg; \
else echo cannot-determine-used-vcs; fi)
VCS = git
#
# Installation prefix, useful for the Debian package.
@@ -240,7 +238,6 @@ release: tidy fixup-perms update-version update-modules clean changelog
rm -f $(DIST_PREFIX)/$(BASE)-$(VERSION).tar.gz
cp -R . $(DIST_PREFIX)/$(BASE)-$(VERSION)
rm -rf $(DIST_PREFIX)/$(BASE)-$(VERSION)/debian
rm -rf $(DIST_PREFIX)/$(BASE)-$(VERSION)/.hg*
rm -rf $(DIST_PREFIX)/$(BASE)-$(VERSION)/.git*
cd $(DIST_PREFIX) && tar -cvf $(DIST_PREFIX)/$(BASE)-$(VERSION).tar $(BASE)-$(VERSION)/
gzip $(DIST_PREFIX)/$(BASE)-$(VERSION).tar

15
NEWS
View File

@@ -1,3 +1,18 @@
xen-tools 4.3rc2 (released TODO)
=======================================
Bug Fixes
---------
* Fix several testuite failures depending on the build host's
installation.
Other Changes
-------------
* Remove most Mercurial traces
xen-tools 4.3rc1 (released 08 Jun 2012)
=======================================

View File

@@ -822,7 +822,7 @@ my $FAIL = 0;
#
# Release number.
#
my $RELEASE = '4.3rc1';
my $RELEASE = '4.3';
#

View File

@@ -131,7 +131,7 @@ $CONFIG{ 'template' } = '/etc/xen-tools/xm-nfs.tmpl';
#
# Release number.
#
my $RELEASE = '4.3rc1';
my $RELEASE = '4.3';
# store version number away.

View File

@@ -171,7 +171,7 @@ my %CONFIG;
#
# Release number.
#
my $RELEASE = '4.3rc1';
my $RELEASE = '4.3';

View File

@@ -101,7 +101,7 @@ $CONFIG{ 'prefix' } = "/etc/xen";
#
# Release number.
#
my $RELEASE = '4.3rc1';
my $RELEASE = '4.3';

View File

@@ -116,7 +116,7 @@ my %CONFIG;
#
# Release number.
#
my $RELEASE = '4.3rc1';
my $RELEASE = '4.3';

View File

@@ -120,7 +120,7 @@ my %CONFIG;
#
# Release number.
#
my $RELEASE = '4.3rc1';
my $RELEASE = '4.3';
#

View File

@@ -156,7 +156,7 @@ $CONFIG{ 'extension' } = '.cfg';
#
# Release number.
#
my $RELEASE = '4.3rc1';
my $RELEASE = '4.3';

View File

@@ -98,7 +98,7 @@ my %CONFIG;
#
# Release number.
#
my $RELEASE = '4.3rc1';
my $RELEASE = '4.3';

View File

@@ -81,7 +81,7 @@ use strict;
#
# Release number.
#
my $RELEASE = '4.3rc1';
my $RELEASE = '4.3';
# Init
my $mirror = '';

View File

@@ -118,7 +118,7 @@ my %CONFIG;
#
# Release number.
#
my $RELEASE = '4.3rc1';
my $RELEASE = '4.3';
#

19
debian/changelog vendored
View File

@@ -1,3 +1,22 @@
xen-tools (4.3-1) unstable; urgency=low
* New upstream release
- Remove most Mercurial traces
* Fixes FTBFS due to testsuite failures (Closes: #676681)
- Disable tests of not yet used Xen::Tools. Fixes FTBFS in test suite
due to not satisifed Moose dependency in Xen::Tools::Log.
- Added build-dependencies on libmoose-perl, git, and
libtest-pod-coverage-perl for t/perl-syntax.t, t/gitignore.t, and
t/pod-coverage.t.
- Skip t/hook-inittab.t if /etc/inittab is not present on the build
host. Fixes FTBFS on Ubuntu.
* Switch to source format to "3.0 (quilt)"
* Don't remove stamp files manually, dh_clean does that already
* Remove generated file t/modules.t in clean target to be able to build
twice in a row.
-- Axel Beckert <abe@debian.org> Tue, 26 Jun 2012 22:23:59 +0200
xen-tools (4.3~rc1-1) unstable; urgency=low
* New upstream release candidate

1
debian/clean vendored Normal file
View File

@@ -0,0 +1 @@
t/modules.t

2
debian/control vendored
View File

@@ -2,7 +2,7 @@ Source: xen-tools
Section: utils
Priority: extra
Maintainer: Axel Beckert <abe@debian.org>
Build-Depends: debhelper (>= 7.0.0), libtest-pod-perl, libtext-template-perl, libfile-slurp-perl, devscripts
Build-Depends: debhelper (>= 7.0.0), libtest-pod-perl, libtext-template-perl, libfile-slurp-perl, devscripts, libmoose-perl, libtest-pod-coverage-perl, git
Standards-Version: 3.9.3
Homepage: http://xen-tools.org/software/xen-tools
Vcs-Browser: http://gitorious.org/xen-tools/xen-tools

1
debian/rules vendored
View File

@@ -20,7 +20,6 @@ clean:
dh_testdir
dh_testroot
make clean
rm -f build-stamp configure-stamp
dh_clean
install: build

View File

@@ -1 +1 @@
1.0
3.0 (quilt)

View File

@@ -7,39 +7,38 @@
#
use strict;
use Test::More qw( no_plan );
use Test::More 'no_plan', skip_all => '/etc/inittab not present';
use File::Temp;
use File::Copy;
#
# Sanity check.
# Check if build system has /etc/inittab.
#
ok( -e "/etc/inittab", "/etc/inittab exists." );
SKIP: {
skip '/etc/inittab not present' unless -e "/etc/inittab";
#
# Rather than having a hardwired list of distributions to test
# against we look for subdirectories beneath hooks/ and test each
# one.
#
foreach my $dir ( glob( "hooks/*" ) )
{
next if ( $dir =~ /CVS/i );
next if ( $dir =~ /common/i );
next if ( ! -d $dir );
if ( $dir =~ /hooks\/(.*)/ )
foreach my $dir ( glob( "hooks/*" ) )
{
my $dist = $1;
next if ( $dir =~ /CVS/i );
next if ( $dir =~ /common/i );
next if ( ! -d $dir );
next if ( $dist =~ /(edgy|dapper|ubuntu)/i );
if ( $dir =~ /hooks\/(.*)/ )
{
my $dist = $1;
testHook( $dist );
next if ( $dist =~ /(edgy|dapper|ubuntu)/i );
testHook( $dist );
}
}
}
} # SKIP