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:
parent
2883a8dc63
commit
e0b21b9a19
2
dist/debian/debian/rules
vendored
2
dist/debian/debian/rules
vendored
@ -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)
|
||||
|
2
dist/redhat/scylla-jmx.spec
vendored
2
dist/redhat/scylla-jmx.spec
vendored
@ -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 || :
|
||||
|
Loading…
Reference in New Issue
Block a user