Accepting request 515239 from home:jengelh:branches:Base:System
- Fix RPM groups. Replace %__-type macro indirections and old $RPM shell variables. OBS-URL: https://build.opensuse.org/request/show/515239 OBS-URL: https://build.opensuse.org/package/show/Base:System/open-isns?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
4f3f609915
commit
6a376b97a4
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 8 19:18:27 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Fix RPM groups. Replace %__-type macro indirections and
|
||||||
|
old $RPM shell variables.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 2 23:53:06 UTC 2016 - lduncan@suse.com
|
Wed Nov 2 23:53:06 UTC 2016 - lduncan@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package open-isns
|
# spec file for package open-isns
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
Name: open-isns
|
Name: open-isns
|
||||||
Summary: Partial Implementation of iSNS iSCSI registration
|
Summary: Partial Implementation of iSNS iSCSI registration
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: System Environment/Kernel
|
Group: System/Kernel
|
||||||
Version: 0.97
|
Version: 0.97
|
||||||
Release: 0
|
Release: 0
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source: %{name}-%{version}.tar.gz
|
||||||
@@ -61,17 +61,16 @@ Files to develop an application using the open-isns library.
|
|||||||
autoconf
|
autoconf
|
||||||
autoheader
|
autoheader
|
||||||
%configure --prefix=%{_prefix}
|
%configure --prefix=%{_prefix}
|
||||||
%{__make} OPTFLAGS="${RPM_OPT_FLAGS}"
|
make OPTFLAGS="%{optflags}"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__make} DESTDIR=${RPM_BUILD_ROOT} install
|
make DESTDIR="%{buildroot}" install
|
||||||
if [ ! -d ${RPM_BUILD_ROOT}/usr/sbin ] ; then
|
if [ ! -d "%{buildroot}/usr/sbin" ] ; then
|
||||||
mkdir -p ${RPM_BUILD_ROOT}/usr/sbin
|
mkdir -p %{buildroot}/usr/sbin
|
||||||
fi
|
fi
|
||||||
ln -sf /usr/sbin/service ${RPM_BUILD_ROOT}/usr/sbin/rcisnsd
|
ln -sf /usr/sbin/service %{buildroot}/usr/sbin/rcisnsd
|
||||||
install -vD %{S:1} %{buildroot}/etc/sysconfig/SuSEfirewall2.d/services/isns
|
install -vD %{S:1} %{buildroot}/etc/sysconfig/SuSEfirewall2.d/services/isns
|
||||||
%{__make} DESTDIR=${RPM_BUILD_ROOT} install_hdrs
|
make DESTDIR="%{buildroot}" install_hdrs install_lib
|
||||||
%{__make} DESTDIR=${RPM_BUILD_ROOT} install_lib
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%{service_add_post isnsd.socket isnsd.service}
|
%{service_add_post isnsd.socket isnsd.service}
|
||||||
|
Reference in New Issue
Block a user