Skip to content

Commit 27996be

Browse files
authored
Updated packaging tools and version. (#10)
Updated packaging tools and versions. Bumped version to 1.0.6.
1 parent 85b5b36 commit 27996be

File tree

34 files changed

+111
-226
lines changed

34 files changed

+111
-226
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Process this file with autoconf to produce a configure script.
33

44
AC_PREREQ([2.63])
5-
AC_INIT(cpuaff,1.0.5,[email protected],cpuaff)
5+
AC_INIT(cpuaff,1.0.6,[email protected],cpuaff)
66
AM_INIT_AUTOMAKE
77
AC_OUTPUT(Makefile include/Makefile examples/Makefile tests/Makefile)
88
AC_CONFIG_HEADERS([config.h])

dch

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
#!/bin/bash
22

3-
VERSION=""
3+
VERSION=`cat configure.ac | grep AC_INIT | grep -Po [0-9]+\.[0-9]+\.[0-9]+`
4+
DISTS="debian artful zesty xenial trusty"
45

5-
while getopts "v:" opt; do
6-
case $opt in
7-
v)
8-
VERSION=$OPTARG
9-
shift 2
10-
;;
11-
esac
12-
done
6+
for DIST in $DISTS; do
7+
ARGS=""
8+
CURRENT_VERSION=""
9+
10+
if [ ! -f debian.$DIST/changelog ]; then
11+
ARGS="--create --package libcpuaff"
12+
else
13+
CURRENT_VERSION=`head -n1 debian.$DIST/changelog | grep -Po [0-9]+\.[0-9]+\.[0-9]+`
14+
fi
1315

14-
dch -v $VERSION -c debian.debian/changelog -D unstable $*
15-
dch -v $VERSION~xenial -c debian.xenial/changelog -D xenial $*
16-
dch -v $VERSION~wily -c debian.wily/changelog -D wily $*
17-
dch -v $VERSION~vivid -c debian.vivid/changelog -D vivid $*
18-
dch -v $VERSION~trusty -c debian.trusty/changelog -D trusty $*
19-
dch -v $VERSION~precise -c debian.precise/changelog -D precise $*
16+
if [ "$VERSION" = "$CURRENT_VERSION" ]; then
17+
VERSION_ARGS="-i"
18+
else
19+
VERSION_ARGS="-v $VERSION-1"
20+
fi
21+
22+
dch $ARGS $VERSION_ARGS -c debian.$DIST/changelog -D $DIST $*
23+
done

debian.artful/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
libcpuaff (1.0.6-1) artful; urgency=medium
2+
3+
* Hardened the tests and cleaned up a few minor bugs.
4+
5+
-- Daniel C. Dillon <[email protected]> Sat, 28 Oct 2017 15:09:16 -0500
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Source: libcpuaff
22
Priority: optional
33
Maintainer: Daniel C. Dillon <[email protected]>
44
Build-Depends: debhelper (>= 9), autotools-dev
5-
Standards-Version: 3.9.7
5+
Standards-Version: 3.9.8
66
Section: libs
77

88
Package: libcpuaff-dev

debian.debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
libcpuaff (1.0.6-1) debian; urgency=medium
2+
3+
* Hardened the tests and cleaned up a few minor bugs.
4+
5+
-- Daniel C. Dillon <[email protected]> Sat, 28 Oct 2017 15:09:15 -0500
6+
17
libcpuaff (1.0.5-0) unstable; urgency=medium
28

39
* Version

debian.debian/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Source: libcpuaff
22
Priority: optional
33
Maintainer: Daniel C. Dillon <[email protected]>
44
Build-Depends: debhelper (>= 9), autotools-dev
5-
Standards-Version: 3.9.7
5+
Standards-Version: 3.9.8
66
Section: libs
77

88
Package: libcpuaff-dev

0 commit comments

Comments
 (0)