Don't use tarball directly for building, screws with spec permissions
This commit is contained in:
parent
6b19373cf0
commit
3e9dbe8011
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
|
@ -65,10 +65,10 @@ tarball: clean
|
|||
@git archive --format=tar --prefix=$(NAME)-$(VERSION)/ HEAD |bzip2 > $(NAME)-$(VERSION).tar.bz2
|
||||
|
||||
srpm: tarball
|
||||
$(RPM_WITH_DIRS) $(DIST_DEFINES) -ts $(NAME)-$(VERSION).tar.bz2
|
||||
$(RPM_WITH_DIRS) $(DIST_DEFINES) -bs $(SPECFILE)
|
||||
|
||||
rpm: tarball
|
||||
$(RPM_WITH_DIRS) $(DIST_DEFINES) -tb $(NAME)-$(VERSION).tar.bz2
|
||||
$(RPM_WITH_DIRS) $(DIST_DEFINES) -bb $(SPECFILE)
|
||||
|
||||
tag::
|
||||
git tag $(TAG)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue