From 55d98e7f895f31f1bed4eb2034126e766ff54069 Mon Sep 17 00:00:00 2001 From: Frederic Lepied Date: Fri, 27 Feb 2004 16:59:41 +0000 Subject: use rpm -ta to build an rpm --- Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index ebb9faa..fe4ad3a 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.1