diff --git a/ChangeLog b/ChangeLog index 8f358cd..70952be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-05-08 v2.0.1 r646 +------------------------------------------------------------------------ + + * Improvements to the RPM package spec + (Credit: Eric Wong) + 2013-04-29 v2.0 r639 ------------------------------------------------------------------------ diff --git a/GNUmakefile b/GNUmakefile index 04ce9b1..e7b0d9c 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -55,7 +55,7 @@ check: kqtest clean: rm -f *.rpm - rm -f libkqueue-2.0.tar.gz + rm -f libkqueue-2.0.1.tar.gz rm -f src/common/filter.o rm -f src/common/knote.o rm -f src/common/map.o @@ -107,11 +107,11 @@ config.h: @echo "creating config.h" @mv config.h.tmp config.h -dist: libkqueue-2.0.tar.gz +dist: libkqueue-2.0.1.tar.gz distclean: clean rm -f GNUmakefile - rm -f libkqueue-2.0.tar.gz + rm -f libkqueue-2.0.1.tar.gz rm -f config.h rm -f config.yaml @@ -171,14 +171,14 @@ install: kqtest: test/main.o test/kevent.o test/test.o test/proc.o test/read.o test/signal.o test/timer.o test/vnode.o test/user.o $(LD) -o kqtest -L . -Wl,-rpath,. -L . $(LDFLAGS) test/main.o test/kevent.o test/test.o test/proc.o test/read.o test/signal.o test/timer.o test/vnode.o test/user.o libkqueue.a -lpthread -lrt $(LDADD) -libkqueue-2.0.tar.gz: - rm -rf libkqueue-2.0 - mkdir libkqueue-2.0 - $(MAKE) distdir distdir=libkqueue-2.0 - rm -rf libkqueue-2.0.tar libkqueue-2.0.tar.gz - tar cf libkqueue-2.0.tar libkqueue-2.0 - gzip libkqueue-2.0.tar - rm -rf libkqueue-2.0 +libkqueue-2.0.1.tar.gz: + rm -rf libkqueue-2.0.1 + mkdir libkqueue-2.0.1 + $(MAKE) distdir distdir=libkqueue-2.0.1 + rm -rf libkqueue-2.0.1.tar libkqueue-2.0.1.tar.gz + tar cf libkqueue-2.0.1.tar libkqueue-2.0.1 + gzip libkqueue-2.0.1.tar + rm -rf libkqueue-2.0.1 libkqueue.a: src/common/filter.o src/common/knote.o src/common/map.o src/common/kevent.o src/common/kqueue.o src/posix/platform.o src/linux/platform.o src/linux/read.o src/linux/write.o src/linux/user.o src/linux/vnode.o src/linux/signal.o src/linux/timer.o ifneq ($(DISABLE_STATIC),1) @@ -194,13 +194,13 @@ libkqueue.pc: config.h libkqueue.so: src/common/filter.o src/common/knote.o src/common/map.o src/common/kevent.o src/common/kqueue.o src/posix/platform.o src/linux/platform.o src/linux/read.o src/linux/write.o src/linux/user.o src/linux/vnode.o src/linux/signal.o src/linux/timer.o $(LD) -o libkqueue.so -shared -fPIC -L . -Wl,-soname,libkqueue.so.0 $(LDFLAGS) src/common/filter.o src/common/knote.o src/common/map.o src/common/kevent.o src/common/kqueue.o src/posix/platform.o src/linux/platform.o src/linux/read.o src/linux/write.o src/linux/user.o src/linux/vnode.o src/linux/signal.o src/linux/timer.o -lpthread -lrt $(LDADD) -package: clean libkqueue-2.0.tar.gz +package: clean libkqueue-2.0.1.tar.gz rm -rf rpm *.rpm mkdir -p rpm/BUILD rpm/RPMS rpm/SOURCES rpm/SPECS rpm/SRPMS mkdir -p rpm/RPMS/`uname -m` - cp libkqueue-2.0.tar.gz rpm/SOURCES + cp libkqueue-2.0.1.tar.gz rpm/SOURCES cp libkqueue.spec rpm/SPECS/libkqueue.spec - perl -pi -e 's/Version:.*/Version: 2.0/' rpm/SPECS/libkqueue.spec + perl -pi -e 's/^Version:.*/Version: 2.0.1/' rpm/SPECS/libkqueue.spec rpmbuild --define "_topdir `pwd`/rpm" -bs rpm/SPECS/libkqueue.spec rpmbuild --define "_topdir `pwd`/rpm" -bb rpm/SPECS/libkqueue.spec mv ./rpm/SRPMS/* ./rpm/RPMS/*/*.rpm . diff --git a/configure.rb b/configure.rb index b566060..2fc7e9b 100755 --- a/configure.rb +++ b/configure.rb @@ -111,7 +111,7 @@ end project = Project.new \ :id => 'libkqueue', - :version => 2.0 + :version => '2.0.1' kq = Library.new( :id => 'libkqueue', diff --git a/libkqueue.spec b/libkqueue.spec index 61e7f29..36a581a 100644 --- a/libkqueue.spec +++ b/libkqueue.spec @@ -1,6 +1,6 @@ Name: libkqueue Summary: Userspace implementation of the kqueue event notification mechanism -Version: 2.0 +Version: 2.0.1 Release: 1 # The entire source code is MIT, event.h which is BSD (2-clause) License: MIT and BSD @@ -54,6 +54,9 @@ make check %{_mandir}/man2/kevent.2.* %changelog +* Wed May 08 2013 Mark Heily - 2.0.1-1 +- New upstream release + * Wed May 01 2013 Eric Radman - 2.0-1 - Adapt to libkqueue 2.0