!237 add lcrcontainer.h in libisula-devel and remove lcr-devel
* add lcrcontainer.h in libisula-devel and remove lcr-devel
This commit is contained in:
parent
4a129abdbb
commit
7ecbec28c1
7
lcr.spec
7
lcr.spec
@ -90,10 +90,10 @@ mkdir -p %{buildroot}/{%{_libdir},%{_libdir}/pkgconfig,%{_includedir}/lcr,%{_bin
|
||||
%if 0%{?enable_lxc}
|
||||
install -m 0644 ./src/liblcr.so %{buildroot}/%{_libdir}/liblcr.so
|
||||
install -m 0644 ./conf/lcr.pc %{buildroot}/%{_libdir}/pkgconfig/lcr.pc
|
||||
install -m 0644 ../src/lcrcontainer.h %{buildroot}/%{_includedir}/lcr/lcrcontainer.h
|
||||
chmod +x %{buildroot}/%{_libdir}/liblcr.so
|
||||
%endif
|
||||
|
||||
install -m 0644 ../src/lcrcontainer.h %{buildroot}/%{_includedir}/lcr/lcrcontainer.h
|
||||
install -m 0644 ./src/libisula_libutils.so %{buildroot}/%{_libdir}/libisula_libutils.so
|
||||
install -m 0644 ./conf/libisula.pc %{buildroot}/%{_libdir}/pkgconfig/libisula.pc
|
||||
install -d $RPM_BUILD_ROOT/%{_includedir}/%{_inner_name}
|
||||
@ -120,10 +120,6 @@ rm -rf %{buildroot}
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/liblcr.so
|
||||
%{_libdir}/pkgconfig/lcr.pc
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/lcr/lcrcontainer.h
|
||||
%endif
|
||||
|
||||
%files -n libisula
|
||||
@ -134,6 +130,7 @@ rm -rf %{buildroot}
|
||||
%files -n libisula-devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/%{_inner_name}/*.h
|
||||
%{_includedir}/lcr/lcrcontainer.h
|
||||
|
||||
%changelog
|
||||
* Mon Aug 07 2023 zhangxiaoyu<zhangxiaoyu58@huawei.com> - 2.1.1-9
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user