diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | spec-helper.macros.in | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -21,12 +21,12 @@ install: $(MACROS_FILES) install -d -m 755 $(DESTDIR)$(bindir) install -m 755 $(BIN_FILES) $(DESTDIR)$(bindir) install -d -m 755 $(DESTDIR)$(pkgdatadir) - install -m 755 $(SCRIPTS) $(DESTDIR)$(pkgdatadir) + install -m 755 $(SCRIPT_FILES) $(DESTDIR)$(pkgdatadir) install -d -m 755 $(DESTDIR)/$(rpmmacrosdir) install -m 644 $(MACROS_FILES) $(DESTDIR)/$(rpmmacrosdir) spec-helper.macros: spec-helper.macros.in - sed -e 's:@SPEC_HELPER_ROOT@:$(pkgdatadir):' < $< > $@ + sed -e 's:@pkgdatadir@:$(pkgdatadir):' < $< > $@ clean: rm -f *~ diff --git a/spec-helper.macros.in b/spec-helper.macros.in index 16a20a9..1cd529f 100644 --- a/spec-helper.macros.in +++ b/spec-helper.macros.in @@ -1,6 +1,6 @@ # $Id$ -%_spec_helper_dir @SPEC_HELPER_ROOT@ +%_spec_helper_dir @pkgdatadir@ %__spec_helper_post \ %{?!dont_clean_files: [ -n "$DONT_CLEANUP" ] || %_spec_helper_dir/clean_files} \ |