dist: add --packaging for .rpm/.deb build

354df10 mistakenly does not contain dist/redhat & dist/debian change,
add --package option to them.
This commit is contained in:
Takuya ASADA 2020-06-08 22:39:31 +09:00 committed by Avi Kivity
parent 2883a8dc63
commit e0b21b9a19
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ override_dh_auto_clean:
override_dh_auto_install:
dh_auto_install
cd scylla-jmx; ./install.sh --root "$(CURDIR)/debian/tmp" --sysconfdir /etc/default
cd scylla-jmx; ./install.sh --packaging --root "$(CURDIR)/debian/tmp" --sysconfdir /etc/default
override_dh_installinit:
ifeq ($(DEB_SOURCE),scylla-jmx)

View File

@ -22,7 +22,7 @@ Requires: %{product}-server java-1.8.0-openjdk-headless
%build
%install
./install.sh --root "$RPM_BUILD_ROOT"
./install.sh --packaging --root "$RPM_BUILD_ROOT"
%pre
/usr/sbin/groupadd scylla 2> /dev/null || :