diff options
author | Frederic Lepied <flepied@mandriva.com> | 2004-02-27 16:59:41 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2004-02-27 16:59:41 +0000 |
commit | 55d98e7f895f31f1bed4eb2034126e766ff54069 (patch) | |
tree | c167d4ee87c09ba7814e6879bd8ebaa29018694b /Makefile | |
parent | eb0e92f8dd6195914d14902530a9b6d7edaa5a9f (diff) | |
download | common-data-55d98e7f895f31f1bed4eb2034126e766ff54069.tar common-data-55d98e7f895f31f1bed4eb2034126e766ff54069.tar.gz common-data-55d98e7f895f31f1bed4eb2034126e766ff54069.tar.bz2 common-data-55d98e7f895f31f1bed4eb2034126e766ff54069.tar.xz common-data-55d98e7f895f31f1bed4eb2034126e766ff54069.zip |
use rpm -ta to build an rpm
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -2,7 +2,6 @@ PACKAGE = mandrake_desk NAME = mandrake_desk VERSION:=$(shell grep 'Version:' $(PACKAGE).spec| cut -f 2) RELEASE:=$(shell grep 'Release:' $(PACKAGE).spec| cut -f 2) -RPM=$(HOME)/rpm TAG := $(shell echo "V$(VERSION)_$(RELEASE)" | tr -- '-.' '__') mandir=/usr/share/man @@ -17,8 +16,6 @@ dis: clean tar jcf ../$(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION) rm -rf $(NAME)-$(VERSION) -rpm: dis ../$(NAME)-$(VERSION).tar.bz2 $(RPM) - cp -f ../$(NAME)-$(VERSION).tar.bz2 $(RPM)/SOURCES - cp -f $(NAME).spec $(RPM)/SPECS/ - rpm -ba --clean --rmsource $(NAME).spec +rpm: dis + rpm -ta --clean --rmsource ../$(NAME)-$(VERSION).tar.bz2 rm -f ../$(NAME)-$(VERSION).tar.bz2 |