[ https://issues.apache.org/jira/browse/CASSANDRA-14180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16334081#comment-16334081 ]
Stefan Podkowinski commented on CASSANDRA-14180: ------------------------------------------------ I think you're right. But how did you manage to build the source package at all? Mine was missing a version and revision macro declaration before rpmbuild was able to finish successfully. We use to create these values dynamically and [pass them|https://github.com/apache/cassandra-builds/blob/master/docker/build-rpms.sh#L69] asĀ {{rpmbuild --define="version .."}} during our release process. Maybe we should turn that into a string substitution in the spec instead. > 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: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org