Accepting request 816342 from home:gmbr3:branches:Base:System3

- Fixes for %_libexecdir changing to /usr/libexec

OBS-URL: https://build.opensuse.org/request/show/816342
OBS-URL: https://build.opensuse.org/package/show/Base:System/libstoragemgmt?expand=0&rev=59
This commit is contained in:
Martin Pluskal 2020-06-22 12:58:56 +00:00 committed by Git OBS Bridge
parent 98f7dec6cd
commit c445aad5dc
2 changed files with 11 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 22 12:09:05 UTC 2020 - Callum Farmer <callumjfarmer13@gmail.com>
- Fixes for %_libexecdir changing to /usr/libexec
-------------------------------------------------------------------
Fri May 22 08:58:44 UTC 2020 - Michael Vetter <mvetter@suse.com>

View File

@ -316,18 +316,18 @@ make %{?_smp_mflags} V=1
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
install -d -m755 %{buildroot}/%{_sbindir}
install -d -m755 %{buildroot}%{_sbindir}
install -Dpm 0644 packaging/daemon/libstoragemgmt.service \
%{buildroot}/%{_unitdir}/libstoragemgmt.service
%{buildroot}%{_unitdir}/libstoragemgmt.service
ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
#Files for udev handling
install -d %{buildroot}/%{_udevrulesdir}
install -d %{buildroot}%{_udevrulesdir}
install -m 644 tools/udev/90-scsi-ua.rules \
%{buildroot}/%{_udevrulesdir}/90-scsi-ua.rules
%{buildroot}%{_udevrulesdir}/90-scsi-ua.rules
install -m 755 tools/udev/scan-scsi-target \
%{buildroot}/%{_libexecdir}/udev/scan-scsi-target
%{buildroot}%{_prefix}/lib/udev/scan-scsi-target
# find all duplicates
%fdupes -s %{buildroot}%{python_sitelib}
@ -502,7 +502,7 @@ fi
%ghost %dir /run/lsm/ipc
%files udev
%{_libexecdir}/udev/scan-scsi-target
%{_prefix}/lib/udev/scan-scsi-target
%{_udevrulesdir}/90-scsi-ua.rules
%files -n %{libname}