fixed 06462ed from https://gitee.com/dpdwaj/python-rtslib/pulls/33
Fix missing targetctl file error update python-rtslib.spec. Signed-off-by: dpd <doupengda@loongson.cn> update python-rtslib.spec. Signed-off-by: dpd <doupengda@loongson.cn>
This commit is contained in:
parent
5f4bb04080
commit
2bf79c2eb2
@ -1,10 +1,10 @@
|
|||||||
%bcond_with python3
|
%bcond_without python3
|
||||||
|
|
||||||
%global oname rtslib-fb
|
%global oname rtslib-fb
|
||||||
|
|
||||||
Name: python-rtslib
|
Name: python-rtslib
|
||||||
Version: 2.1.76
|
Version: 2.1.76
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Python object API for Linux kernel LIO SCSI target
|
Summary: Python object API for Linux kernel LIO SCSI target
|
||||||
|
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
@ -82,9 +82,11 @@ mkdir -p %{buildroot}%{_unitdir}
|
|||||||
mkdir -p %{buildroot}%{_sysconfdir}/target/backup
|
mkdir -p %{buildroot}%{_sysconfdir}/target/backup
|
||||||
mkdir -p %{buildroot}%{_localstatedir}/target/pr
|
mkdir -p %{buildroot}%{_localstatedir}/target/pr
|
||||||
mkdir -p %{buildroot}%{_localstatedir}/target/alua
|
mkdir -p %{buildroot}%{_localstatedir}/target/alua
|
||||||
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
install -m 644 systemd/target.service %{buildroot}%{_unitdir}/target.service
|
install -m 644 systemd/target.service %{buildroot}%{_unitdir}/target.service
|
||||||
install -m 644 doc/targetctl.8.gz %{buildroot}%{_mandir}/man8/
|
install -m 644 doc/targetctl.8.gz %{buildroot}%{_mandir}/man8/
|
||||||
install -m 644 doc/saveconfig.json.5.gz %{buildroot}%{_mandir}/man5/
|
install -m 644 doc/saveconfig.json.5.gz %{buildroot}%{_mandir}/man5/
|
||||||
|
install -m 755 scripts/targetctl %{buildroot}%{_bindir}/
|
||||||
|
|
||||||
%post -n target-restore
|
%post -n target-restore
|
||||||
%systemd_post target.service
|
%systemd_post target.service
|
||||||
@ -119,6 +121,9 @@ install -m 644 doc/saveconfig.json.5.gz %{buildroot}%{_mandir}/man5/
|
|||||||
%{_mandir}/man5/saveconfig.json.5.gz
|
%{_mandir}/man5/saveconfig.json.5.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 16 2024 Pengda Dou <doupengda@loongson.cn> - 2.1.76-2
|
||||||
|
- Fix missing targetctl file error
|
||||||
|
|
||||||
* Wed Jan 10 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 2.1.76-1
|
* Wed Jan 10 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 2.1.76-1
|
||||||
- Update package to version 2.1.76
|
- Update package to version 2.1.76
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user