firnsy / barnyard2

Barnyard2 is a dedicated spooler for Snort's unified2 binary output format.
GNU General Public License v2.0
343 stars 189 forks source link

RPM dependency problem for the mysql package #184

Open cvandeplas opened 8 years ago

cvandeplas commented 8 years ago

When installing the build barnyard2-mysql package I get the error:

# rpm -i barnyard2-mysql-1.14-1.el7.centos.x86_64.rpm 
error: Failed dependencies:
    barnyard2 = %{epoch}:1.14-1.el7.centos is needed by barnyard2-mysql-1.14-1.el7.centos.x86_64

This is because of the .spec file that contains:

Requires: %{name} = %{epoch}:%{version}-%{release}

The %{epoch} variable seems non existing. Removing the %{epoch}: seems to solve the problem, however I'm not sure about the collateral damage it creates.