diff options
author | Ben LaHaise <bcrl@kvack.org> | 2002-01-24 20:18:25 +0000 |
---|---|---|
committer | Ben LaHaise <bcrl@kvack.org> | 2002-01-24 20:18:25 +0000 |
commit | 98b2aea87e86e9542aafaefba05bfaabbc4b4e95 (patch) | |
tree | a7be1dd522b3334376d1a968424730f750821d8f | |
parent | 7e7e8642126d9f0dc46f5a00392d5a5da09d3a87 (diff) | |
download | libaio-98b2aea87e86e9542aafaefba05bfaabbc4b4e95.tar.gz |
add srpm targetlibaio.0-3-8.1
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | Makefile | 4 |
2 files changed, 5 insertions, 0 deletions
@@ -1,6 +1,7 @@ 0.3.8 - make clean deletes libredhat-kernel.so.1 - const struct timespec * + - add make srpm target 0.3.7 - fix assembly function .types @@ -3,6 +3,7 @@ SPECFILE=$(NAME).spec VERSION=$(shell awk '/Version:/ { print $$2 }' $(SPECFILE)) RELEASE=$(shell awk '/Release:/ { print $$2 }' $(SPECFILE)) CVSTAG = $(NAME)_$(subst .,-,$(VERSION))_$(subst .,-,$(RELEASE)) +RPM=rpm default: all @@ -30,3 +31,6 @@ create-archive: tag-archive @echo "The final archive is ./$(NAME)-$(VERSION).tar.gz." archive: clean tag-archive create-archive + +srpm: + $(RPM) --define "_sourcedir `pwd`" --define "_srcrpmdir `pwd`" --nodeps -bs $(SPECFILE) |