anaconda: prevent anaconda.spec from regenerating
The only dynamic field is VERSION, so it isn't worth (but makes some confusion).
This commit is contained in:
parent
043b780ed9
commit
3b444d3d65
@ -22,14 +22,13 @@ ACLOCAL_AMFLAGS = -I m4
|
||||
SUBDIRS = pyanaconda po data \
|
||||
tests utils scripts docs dracut widgets
|
||||
|
||||
EXTRA_DIST = config.rpath COPYING \
|
||||
anaconda.spec.in
|
||||
EXTRA_DIST = config.rpath COPYING
|
||||
|
||||
MAINTAINERCLEANFILES = Makefile.in config.guess config.h.in config.sub \
|
||||
depcomp install-sh ltmain.sh missing ABOUT-NLS \
|
||||
INSTALL aclocal.m4 configure *.pyc py-compile
|
||||
|
||||
CLEANFILES = *~ anaconda.spec
|
||||
CLEANFILES = *~
|
||||
|
||||
MOSTLYCLEANDIRS = m4
|
||||
|
||||
@ -46,8 +45,8 @@ sed_verbose_0 = @echo " SED "$@;
|
||||
TX_PULL_ARGS = -a --disable-overwrite
|
||||
TX_PUSH_ARGS = -s
|
||||
|
||||
$(PACKAGE_NAME).spec: $(PACKAGE_NAME).spec.in
|
||||
$(sed_verbose)sed -e 's/#VERSION#/$(PACKAGE_VERSION)/' < $< > $@
|
||||
#$(PACKAGE_NAME).spec: $(PACKAGE_NAME).spec.in
|
||||
# $(sed_verbose)sed -e 's/#VERSION#/$(PACKAGE_VERSION)/' < $< > $@
|
||||
|
||||
tag:
|
||||
@git tag -s -a -m "Tag as $(ARCHIVE_TAG)" $(ARCHIVE_TAG)
|
||||
@ -85,7 +84,7 @@ bumpver: po-pull
|
||||
tx push $(TX_PUSH_ARGS)
|
||||
|
||||
install-buildrequires:
|
||||
yum install $$(grep BuildRequires: anaconda.spec.in | cut -d ' ' -f 2)
|
||||
yum install $$(grep BuildRequires: anaconda.spec | cut -d ' ' -f 2)
|
||||
|
||||
# Generate an updates.img based on the changed files since the release
|
||||
# was tagged. Updates are copied to ./updates-img and then the image is
|
||||
|
@ -389,14 +389,12 @@ ACLOCAL_AMFLAGS = -I m4
|
||||
SUBDIRS = pyanaconda po data \
|
||||
tests utils scripts docs dracut widgets
|
||||
|
||||
EXTRA_DIST = config.rpath COPYING \
|
||||
anaconda.spec.in
|
||||
|
||||
EXTRA_DIST = config.rpath COPYING
|
||||
MAINTAINERCLEANFILES = Makefile.in config.guess config.h.in config.sub \
|
||||
depcomp install-sh ltmain.sh missing ABOUT-NLS \
|
||||
INSTALL aclocal.m4 configure *.pyc py-compile
|
||||
|
||||
CLEANFILES = *~ anaconda.spec
|
||||
CLEANFILES = *~
|
||||
MOSTLYCLEANDIRS = m4
|
||||
dist_noinst_DATA = $(PACKAGE_NAME).spec
|
||||
dist_sbin_SCRIPTS = anaconda
|
||||
@ -954,8 +952,8 @@ uninstall-am: uninstall-dist_sbinSCRIPTS
|
||||
uninstall-dist_sbinSCRIPTS
|
||||
|
||||
|
||||
$(PACKAGE_NAME).spec: $(PACKAGE_NAME).spec.in
|
||||
$(sed_verbose)sed -e 's/#VERSION#/$(PACKAGE_VERSION)/' < $< > $@
|
||||
#$(PACKAGE_NAME).spec: $(PACKAGE_NAME).spec.in
|
||||
# $(sed_verbose)sed -e 's/#VERSION#/$(PACKAGE_VERSION)/' < $< > $@
|
||||
|
||||
tag:
|
||||
@git tag -s -a -m "Tag as $(ARCHIVE_TAG)" $(ARCHIVE_TAG)
|
||||
@ -993,7 +991,7 @@ bumpver: po-pull
|
||||
tx push $(TX_PUSH_ARGS)
|
||||
|
||||
install-buildrequires:
|
||||
yum install $$(grep BuildRequires: anaconda.spec.in | cut -d ' ' -f 2)
|
||||
yum install $$(grep BuildRequires: anaconda.spec | cut -d ' ' -f 2)
|
||||
|
||||
# Generate an updates.img based on the changed files since the release
|
||||
# was tagged. Updates are copied to ./updates-img and then the image is
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user