Skip to content

Commit

Permalink
AMBARI-25819: Fix build failure when using -Dbuild-rpm due to rpm-mav…
Browse files Browse the repository at this point in the history
…en-plugin upgrade
  • Loading branch information
timyuer authored Dec 16, 2022
1 parent 3765e73 commit 0552296
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 5 additions & 1 deletion ambari-metrics-assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@
<defaultDirmode>755</defaultDirmode>
<defaultUsername>root</defaultUsername>
<defaultGroupname>root</defaultGroupname>
<defineStatements>
<defineStatement>__arch_install_post %{nil}</defineStatement>
<defineStatement>__os_install_post %{nil}</defineStatement>
</defineStatements>
</configuration>
<executions>

Expand Down Expand Up @@ -613,7 +617,7 @@
<require>${python.devel}</require>
</requires>
<preremoveScriptlet>
<scriptFile>src/main/package/rpm/preremove.sh</scriptFile>
<scriptFile>${monitor.dir}/src/main/package/rpm/preremove.sh</scriptFile>
<fileEncoding>utf-8</fileEncoding>
</preremoveScriptlet>
<mappings>
Expand Down
3 changes: 0 additions & 3 deletions ambari-metrics-host-monitoring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@
<artifactId>ambari-metrics-host-monitoring</artifactId>
<name>Ambari Metrics Monitor</name>
<properties>
<resmonitor.install.dir>
/usr/lib/python2.6/site-packages/resource_monitoring
</resmonitor.install.dir>
<final.name>${project.artifactId}-${project.version}</final.name>
</properties>
<dependencies>
Expand Down

0 comments on commit 0552296

Please sign in to comment.