Skip to content

Commit e62729c

Browse files
committed
Drop dependencies on IPS from the RPM
The IPS work contains use IPS; statements, which by default rpmbuild translates into dependencies on perl(IPS). That code is solaris-specific, but we don't want to depend on it. The alternative would be to remove NCM::Component::spma::ips from the RPM, but it's terribly cumbersome to do it with Maven.
1 parent ae7545e commit e62729c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ncm-spma/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,11 @@
191191
<groupId>org.codehaus.mojo</groupId>
192192
<artifactId>rpm-maven-plugin</artifactId>
193193
<configuration>
194+
<!-- Do not depend on the Solaris-specific code, even if
195+
we currently package it. -->
196+
<defineStatements>
197+
<defineStatement>__requires_exclude perl\\(IPS</defineStatement>
198+
</defineStatements>
194199
<mappings combine.children="append">
195200
<mapping>
196201
<directory>/usr/share/templates/</directory>

0 commit comments

Comments
 (0)