BIGTOP-1173. Inconsistency in libhdfs* packages
Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/c471b096 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/c471b096 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/c471b096 Branch: refs/heads/master Commit: c471b096ad2a643022d6e2853e57f1bebd93b05b Parents: 1c2b958 Author: Sean Mackrory <[email protected]> Authored: Mon Jan 6 09:11:52 2014 -0700 Committer: Sean Mackrory <[email protected]> Committed: Thu Jan 16 09:41:15 2014 -0800 ---------------------------------------------------------------------- bigtop-packages/src/deb/hadoop/libhdfs0-dev.install | 1 - bigtop-packages/src/deb/hadoop/libhdfs0.install | 2 +- bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec | 10 +++++++++- 3 files changed, 10 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/c471b096/bigtop-packages/src/deb/hadoop/libhdfs0-dev.install ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/deb/hadoop/libhdfs0-dev.install b/bigtop-packages/src/deb/hadoop/libhdfs0-dev.install index 8f6121c..2228e0e 100644 --- a/bigtop-packages/src/deb/hadoop/libhdfs0-dev.install +++ b/bigtop-packages/src/deb/hadoop/libhdfs0-dev.install @@ -1,2 +1 @@ /usr/include/hdfs.h -/usr/lib/libhdfs.so http://git-wip-us.apache.org/repos/asf/bigtop/blob/c471b096/bigtop-packages/src/deb/hadoop/libhdfs0.install ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/deb/hadoop/libhdfs0.install b/bigtop-packages/src/deb/hadoop/libhdfs0.install index 6cd0d98..0e848d6 100644 --- a/bigtop-packages/src/deb/hadoop/libhdfs0.install +++ b/bigtop-packages/src/deb/hadoop/libhdfs0.install @@ -1 +1 @@ -/usr/lib/libhdfs.so.* \ No newline at end of file +/usr/lib/libhdfs.so* http://git-wip-us.apache.org/repos/asf/bigtop/blob/c471b096/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec ---------------------------------------------------------------------- diff --git a/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec b/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec index 62a2ea2..158d090 100644 --- a/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec +++ b/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec @@ -414,6 +414,13 @@ AutoReq: no %description libhdfs Hadoop Filesystem Library +%package libhdfs-devel +Summary: Development support for libhdfs +Group: Development/Libraries +Requires: hadoop = %{version}-%{release}, hadoop-libhdfs = %{version}-%{release} + +%description libhdfs-devel +Includes examples and header files for accessing HDFS from C %package hdfs-fuse Summary: Mountable HDFS @@ -703,8 +710,9 @@ fi %files libhdfs %defattr(-,root,root) %{_libdir}/libhdfs* + +%files libhdfs-devel %{_includedir}/hdfs.h -# -devel should be its own package #%doc %{_docdir}/libhdfs-%{hadoop_version} %files hdfs-fuse
