Permalink
Browse files

Build depend on lzo2-devel, not lzo-devel

  • Loading branch information...
1 parent 137bd71 commit 81cb87156e444ff718a5ca9c5a48902da09c6760 @toddlipcon committed Oct 23, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 template.spec
View
@@ -8,7 +8,7 @@ Group: Development/Libraries
URL: @PACKAGE_HOMEPAGE@
Packager: @PACKAGER@ <@PACKAGER_EMAIL@>
Buildroot: %{_tmppath}/%{name}-%{version}
-BuildRequires: ant, ant-nodeps, gcc-c++, lzo-devel
+BuildRequires: ant, ant-nodeps, gcc-c++, lzo2-devel
Requires: lzo
%define hadoop_home @HADOOP_HOME@
@@ -30,4 +30,4 @@ rsync -av --no-t $RPM_BUILD_DIR/%{name}-%{version}/build/%{name}-%{version}/lib/
%files
%{hadoop_home}/lib/%{name}-%{version}.jar
-%{hadoop_home}/lib/native/
+%{hadoop_home}/lib/native/

1 comment on commit 81cb871

@larsgeorge

Hi Todd,

for Fedora up to 12 you need lzo-devel, not lzo2-devel. Maybe this could be set dynamically or a note in the README.txt would suffice?

Lars

Please sign in to comment.