fixed rpm build error

pull/5/head
liuwei 2015-11-18 10:59:16 +08:00
parent 9828c45343
commit 62e9004f2c
2 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,7 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
/usr/lib64/libfastcommon.so*
/usr/lib/libfastcommon.so*
%files devel
%defattr(-,root,root,-)

View File

@ -51,6 +51,7 @@ libfastcommon.a: $(FAST_STATIC_OBJS)
$(COMPILE) -c -fPIC -o $@ $< $(INC_PATH)
install:
mkdir -p $(DESTDIR)/usr/$(LIB_VERSION)
mkdir -p $(DESTDIR)/usr/lib
install -m 755 $(SHARED_LIBS) $(DESTDIR)/usr/$(LIB_VERSION)
install -m 755 $(SHARED_LIBS) $(DESTDIR)/usr/lib
mkdir -p $(DESTDIR)/usr/include/fastcommon