Accepting request 438194 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/438194 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/targetcli-fb?expand=0&rev=2
This commit is contained in:
commit
4b40a342bc
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 30 23:51:52 UTC 2016 - jengelh@inai.de
|
||||
|
||||
- Trim macro indirections and empty macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 25 22:28:04 UTC 2016 - lduncan@suse.com
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
Name: %{oname}
|
||||
Version: 2.1.43
|
||||
Release: 1%{?dist}
|
||||
Release: 0
|
||||
Url: http://github.com/agrover/%{oname}
|
||||
Summary: A command shell for managing the Linux LIO kernel target
|
||||
License: Apache-2.0
|
||||
@ -57,20 +57,17 @@ no longer strictly compatible.
|
||||
%setup -q -n %{oname}-%{realver}%{?extraver}
|
||||
|
||||
%build
|
||||
%__python setup.py build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
%__python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%__install -d -m755 %{buildroot}%{_sysconfdir}/target
|
||||
%__install -d -m755 %{buildroot}%{_sysconfdir}/target/backup
|
||||
%__install -d -m755 %{buildroot}%{_sbindir}
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
install -d -m755 %{buildroot}%{_sysconfdir}/target
|
||||
install -d -m755 %{buildroot}%{_sysconfdir}/target/backup
|
||||
install -d -m755 %{buildroot}%{_sbindir}
|
||||
%fdupes %{buildroot}%{python_sitelib}
|
||||
%__install -D -m644 targetcli.8 %{buildroot}%{_mandir}/man8/targetcli.8
|
||||
%__install -D -m644 %{S:1} %{buildroot}%{_unitdir}/targetcli.service
|
||||
%__ln_s %{_sbindir}/service %{buildroot}/%{_sbindir}/rctargetcli
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
|
||||
install -D -m644 targetcli.8 %{buildroot}%{_mandir}/man8/targetcli.8
|
||||
install -D -m644 %{S:1} %{buildroot}%{_unitdir}/targetcli.service
|
||||
ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rctargetcli
|
||||
|
||||
%post
|
||||
%{service_add_post targetcli.service}
|
||||
|
Loading…
Reference in New Issue
Block a user