Skip to content

Commit

Permalink
PMM-11231 Add install commands
Browse files Browse the repository at this point in the history
  • Loading branch information
matejkubinec committed Mar 25, 2024
1 parent 430cf5e commit 1e0ec32
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build/packages/rpm/server/SPECS/pmm-managed.spec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
%define full_pmm_version 2.0.0

Name: pmm-managed
Version: %{version}
Version: 0.0.1
Release: %{rpm_release}
Summary: Percona Monitoring and Management management daemon

Expand Down Expand Up @@ -49,13 +49,14 @@ make release
install -d -p %{buildroot}%{_bindir}
install -d -p %{buildroot}%{_sbindir}
install -d -p %{buildroot}%{_datadir}/%{name}
install -d -p %{buildroot}%{_datadir}/pmm-ui
install -d -p %{buildroot}%{_datadir}/pmm-ui/assets
install -p -m 0755 bin/pmm-managed %{buildroot}%{_sbindir}/pmm-managed
install -p -m 0755 bin/pmm-managed-init %{buildroot}%{_sbindir}/pmm-managed-init
install -p -m 0755 bin/pmm-managed-starlark %{buildroot}%{_sbindir}/pmm-managed-starlark

cd src/github.com/percona/pmm
cp -pa ./api/swagger %{buildroot}%{_datadir}/%{name}

cp -pa ./ui/dist %{buildroot}%{_datadir}/pmm-ui

%files
Expand Down

0 comments on commit 1e0ec32

Please sign in to comment.