[ 
https://issues.apache.org/jira/browse/CASSANDRA-14180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16334114#comment-16334114
 ] 

Troels Arvin commented on CASSANDRA-14180:
------------------------------------------

I ran the following:
rpmbuild -bb --define "version 3.11.1" --define "revision 4" cassandra.spec

(And for it to compile, I also had to add a patch to the spec file, due to the 
recent JMX incompatibilities described in case CASSANDRA-14173).

It would certainly be nice for those building RPMs, if the version and revision 
values were part of the spec file itself.

> cassandra.spec needs to require ant-junit
> -----------------------------------------
>
>                 Key: CASSANDRA-14180
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14180
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Packaging
>            Reporter: Troels Arvin
>            Priority: Minor
>
> I tried rebuilding cassandra-3.11.1-1.src.rpm on a Centos 7 host which had 
> ant installed, but not the "ant-junit" package; that failed with a somewhat 
> cryptic error message. It turnout out I needed to have the "ant-junit" 
> package installed, as well. So for the cassandra.spec file, I suggest that 
> the following line be added just below the existing BuildRequires line:
> {{BuildRequires: ant-junit >= 1.9}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to