Accepting request 437962 from home:jengelh:branches:Base:System
- Trim macro indirections and empty macros %{?dist} is unused in opensuse, and %__sometool is just saltcoating for non-GNU systems (which is even more distant from what we do at opensuse.org) OBS-URL: https://build.opensuse.org/request/show/437962 OBS-URL: https://build.opensuse.org/package/show/Base:System/targetcli-fb?expand=0&rev=4
This commit is contained in:
parent
7178dc2fe0
commit
11de61a0cb
@ -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
|
Mon Jul 25 22:28:04 UTC 2016 - lduncan@suse.com
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
Name: %{oname}
|
Name: %{oname}
|
||||||
Version: 2.1.43
|
Version: 2.1.43
|
||||||
Release: 1%{?dist}
|
Release: 0
|
||||||
Url: http://github.com/agrover/%{oname}
|
Url: http://github.com/agrover/%{oname}
|
||||||
Summary: A command shell for managing the Linux LIO kernel target
|
Summary: A command shell for managing the Linux LIO kernel target
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@ -57,20 +57,17 @@ no longer strictly compatible.
|
|||||||
%setup -q -n %{oname}-%{realver}%{?extraver}
|
%setup -q -n %{oname}-%{realver}%{?extraver}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__python setup.py build
|
python setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%__python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
%__install -d -m755 %{buildroot}%{_sysconfdir}/target
|
install -d -m755 %{buildroot}%{_sysconfdir}/target
|
||||||
%__install -d -m755 %{buildroot}%{_sysconfdir}/target/backup
|
install -d -m755 %{buildroot}%{_sysconfdir}/target/backup
|
||||||
%__install -d -m755 %{buildroot}%{_sbindir}
|
install -d -m755 %{buildroot}%{_sbindir}
|
||||||
%fdupes %{buildroot}%{python_sitelib}
|
%fdupes %{buildroot}%{python_sitelib}
|
||||||
%__install -D -m644 targetcli.8 %{buildroot}%{_mandir}/man8/targetcli.8
|
install -D -m644 targetcli.8 %{buildroot}%{_mandir}/man8/targetcli.8
|
||||||
%__install -D -m644 %{S:1} %{buildroot}%{_unitdir}/targetcli.service
|
install -D -m644 %{S:1} %{buildroot}%{_unitdir}/targetcli.service
|
||||||
%__ln_s %{_sbindir}/service %{buildroot}/%{_sbindir}/rctargetcli
|
ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rctargetcli
|
||||||
|
|
||||||
%clean
|
|
||||||
[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{service_add_post targetcli.service}
|
%{service_add_post targetcli.service}
|
||||||
|
Loading…
Reference in New Issue
Block a user