Accepting request 774299 from home:tsaupe:branches:devel:libraries:c_c++

fix files directive for s390 in specfile

OBS-URL: https://build.opensuse.org/request/show/774299
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libblockdev?expand=0&rev=29
This commit is contained in:
Dominique Leuenberger 2020-02-14 11:48:28 +00:00 committed by Git OBS Bridge
parent ea83ddfae0
commit c09e6f4b5a
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 4 09:35:28 UTC 2020 - Thomas Blume <thomas.blume@suse.com>
- fix files directive for s390 in specfile
-------------------------------------------------------------------
Thu Sep 17 10:48:00 UTC 2019 - Heming Zhao <heming.zhao@suse.com>

View File

@ -527,6 +527,9 @@ find %{buildroot} -name "*.la" -print -type f -delete
%files -n %{libname}
%license LICENSE
%{_libdir}/libblockdev.so.%{somajor}*
%ifarch s390x
%{_libdir}/libbd_s390.so*
%endif
%files -n typelib-1_0-BlockDev-2_0
%{_libdir}/girepository-1.0/BlockDev-2.0.typelib
@ -540,6 +543,9 @@ find %{buildroot} -name "*.la" -print -type f -delete
%dir %{_includedir}/blockdev
%{_includedir}/blockdev/blockdev.h
%{_includedir}/blockdev/plugins.h
%ifarch s390x
%{_includedir}/blockdev/s390.h
%endif
%if %{with python2}
%files -n python2-%{name}