Skip to content

Commit

Permalink
Fix rpmbuild failure
Browse files Browse the repository at this point in the history
Signed-off-by: hongzhou zhang <hongzhou.h.zhang@intel.com>
  • Loading branch information
hongzhou zhang committed Nov 5, 2015
1 parent 7e746e6 commit 6c99682
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/Makefile.am
Expand Up @@ -13,7 +13,7 @@ libsheepdog_la_LDFLAGS = -avoid-version -shared -module -export-dynamic \
# Workaround for Objects ‘created with both libtool and without’ problem
libsheepdog_la_CPPFLAGS = $(AM_CPPFLAGS) -DNO_SHEEPDOG_LOGGER

pkginclude_HEADERS = ../include/sheepdog_proto.h shared/sheepdog.h \
pkginclude_HEADERS = ../include/sheepdog_proto.h shared/sheepdog.h shared/internal.h \
../include/util.h ../include/list.h


Expand Down
12 changes: 10 additions & 2 deletions sheepdog.spec.in
Expand Up @@ -46,7 +46,7 @@ rm -rf %{buildroot}

%post
/sbin/chkconfig --add sheepdog
ln -s -f %{_sbindir}/dog %{_sbindir}/collie
ln -s -f %{_bindir}/dog %{_bindir}/collie

%preun
if [ $1 -eq 0 ] ; then
Expand All @@ -66,7 +66,7 @@ fi
%doc COPYING README INSTALL
%{_sbindir}/sheep
%{_sbindir}/sheepfs
%{_sbindir}/dog
%{_bindir}/dog
%{_sbindir}/shepherd
%attr(755,-,-)%config %{_initddir}/sheepdog
%dir %{_localstatedir}/lib/sheepdog
Expand All @@ -75,6 +75,14 @@ fi
%{_mandir}/man8/sheepfs.8*
%{_mandir}/man8/dog.8*
%{_prefix}/lib/systemd/system/sheepdog.service
%dir %{_includedir}/sheepdog
%{_includedir}/sheepdog/internal.h
%{_includedir}/sheepdog/list.h
%{_includedir}/sheepdog/sheepdog.h
%{_includedir}/sheepdog/sheepdog_proto.h
%{_includedir}/sheepdog/util.h
%{_libdir}/libsheepdog.la
%{_libdir}/libsheepdog.so

%changelog
* @date@ Autotools generated version <nobody@nowhere.org> - @version@-1.@alphatag@
Expand Down

0 comments on commit 6c99682

Please sign in to comment.