aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile8
-rw-r--r--rpm-helper.macros.in8
2 files changed, 9 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 3d16445..4452809 100644
--- a/Makefile
+++ b/Makefile
@@ -9,15 +9,15 @@ MACROS_FILES = rpm-helper.macros
FILES = AUTHORS README README.CVS COPYING ChangeLog Makefile \
$(SCRIPT_FILES) $(MACROS_FILES:=.in)
-pkgdatadir = /usr/share/$(PACKAGE)
-rpmacrosdir = /etc/rpm/macros.d
+pkgdatadir = /usr/share/$(PACKAGE)
+rpmmacrosdir = /etc/rpm/macros.d
all:
@echo "use make install or make dist"
install: $(MACROS_FILES)
install -d -m 755 $(DESTDIR)$(pkgdatadir)
- cp -p $(SCRIPTS) $(DESTDIR)$(pkgdatadir)
+ cp -p $(SCRIPT_FILES) $(DESTDIR)$(pkgdatadir)
install -d -m 755 $(DESTDIR)$(rpmacrosdir)
install -m 644 $(MACROS_FILES) $(DESTDIR)/$(rpmmacrosdir)
@@ -47,7 +47,7 @@ tar:
# rules to build a public distribution
-dist: changelog cleandist dir localcopy tar
+dist: changelog cleandist dir localcopy tar svntag
changelog:
svn2cl -o ChangeLog || :
diff --git a/rpm-helper.macros.in b/rpm-helper.macros.in
index fe1ce81..ff307e6 100644
--- a/rpm-helper.macros.in
+++ b/rpm-helper.macros.in
@@ -3,10 +3,12 @@
%_rpm_helper_dir @pkgdatadir@
%_get_password_helper %_rpm_helper_dir/get-password
-%get_password() %(%_get_password_helper %{1})
+%get_password() %_get_password_helper %{1} \
+%{nil}
-%_get_free_syslog_facility_helper %_rpm_helper_dir/get-free-syslog-facility
-%get_free_syslog_facility() %(%_get_free_syslog_facility_helper)
+%_get_free_syslog_facility_helper %_rpm_helper_dir/get_free_syslog_facility
+%get_free_syslog_facility() %_get_free_syslog_facility_helper %{1} \
+%{nil}
%_create_ghostfile_helper %_rpm_helper_dir/create-file
%create_ghostfile() %_create_ghostfile_helper %{name} $1 %{1} %{2} %{3} %{4} \