Accepting request 967366 from network
OBS-URL: https://build.opensuse.org/request/show/967366 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=115
This commit is contained in:
commit
066510bdc4
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:8a3f52b0cc98325520ef99903a0ba231b3e121ada9102df6f694bee4f188f3cd
|
oid sha256:ffba1268e29251b8d354ba91530e0993d060f1340fbfc909185449fb299833d3
|
||||||
size 16349
|
size 79808
|
||||||
|
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 6 17:02:04 UTC 2022 - Lee Duncan <lduncan@suse.com>
|
||||||
|
|
||||||
|
- Updated to latest upstream, including bug fixes and cleanups.
|
||||||
|
Changes included:
|
||||||
|
* add handling name/value pairs for firmware login (bsc#1196113),
|
||||||
|
including man page update for same
|
||||||
|
* Fix bug where some package parts were installed using
|
||||||
|
DESTDIR twice
|
||||||
|
* general build cleanup (in prep for removing DB files from
|
||||||
|
/etc/iscsi some day soon)
|
||||||
|
Also, now delivering a "package config" file for libopeniscsiusr.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Mar 5 17:23:19 UTC 2022 - Lee Duncan <lduncan@suse.com>
|
Sat Mar 5 17:23:19 UTC 2022 - Lee Duncan <lduncan@suse.com>
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ the libopeniscsiusr library.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
[ -z "$SOURCE_DATE_EPOCH" ] || export KBUILD_BUILD_TIMESTAMP=@$SOURCE_DATE_EPOCH
|
[ -z "$SOURCE_DATE_EPOCH" ] || export KBUILD_BUILD_TIMESTAMP=@$SOURCE_DATE_EPOCH
|
||||||
make %{?_smp_mflags} OPTFLAGS="%{optflags} -fno-strict-aliasing -fno-common -DOFFLOAD_BOOT_SUPPORTED -DLOCK_DIR=\\\"%{_sysconfdir}/iscsi\\\"" LIB_DIR=%{_libdir} sbindir=%{_sbindir} user
|
make %{?_smp_mflags} OPTFLAGS="%{optflags} -fno-strict-aliasing -fno-common -DOFFLOAD_BOOT_SUPPORTED -DLOCK_DIR=\\\"%{_sysconfdir}/iscsi\\\"" LIB_DIR=%{_libdir} SBINDIR=%{_sbindir} user
|
||||||
cd iscsiuio
|
cd iscsiuio
|
||||||
touch AUTHORS NEWS
|
touch AUTHORS NEWS
|
||||||
autoreconf --install
|
autoreconf --install
|
||||||
@ -127,17 +127,15 @@ autoreconf --install
|
|||||||
make %{?_smp_mflags} CFLAGS="%{optflags}" LIB_DIR=%{_libdir}
|
make %{?_smp_mflags} CFLAGS="%{optflags}" LIB_DIR=%{_libdir}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} LIB_DIR=%{_libdir} sbindir=%{_sbindir} install_user
|
make DESTDIR=%{buildroot} LIB_DIR=%{_libdir} SBINDIR=%{_sbindir} RULESDIR=%{_udevrulesdir} install
|
||||||
# install service files
|
|
||||||
make DESTDIR=%{buildroot} LIB_DIR=%{_libdir} sbindir=%{_sbindir} install_systemd
|
|
||||||
# create rc symlinks
|
# create rc symlinks
|
||||||
[ -d %{buildroot}%{_sbindir} ] || mkdir -p %{buildroot}%{_sbindir}
|
[ -d %{buildroot}%{_sbindir} ] || mkdir -p %{buildroot}%{_sbindir}
|
||||||
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rciscsi
|
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rciscsi
|
||||||
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rciscsid
|
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rciscsid
|
||||||
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rciscsiuio
|
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rciscsiuio
|
||||||
(cd %{buildroot}/etc; ln -sf iscsi/iscsid.conf iscsid.conf)
|
(cd %{buildroot}/etc; ln -sf iscsi/iscsid.conf iscsid.conf)
|
||||||
|
# create an empty initiatorname file, as a package place holder
|
||||||
echo > %{buildroot}%{_sysconfdir}/iscsi/initiatorname.iscsi
|
echo > %{buildroot}%{_sysconfdir}/iscsi/initiatorname.iscsi
|
||||||
install -m 0755 usr/iscsistart %{buildroot}/%{_sbindir}
|
|
||||||
%make_install -C iscsiuio
|
%make_install -C iscsiuio
|
||||||
# rename iscsiuio logrotate file to proper name
|
# rename iscsiuio logrotate file to proper name
|
||||||
mv %{buildroot}%{_sysconfdir}/logrotate.d/iscsiuiolog %{buildroot}%{_sysconfdir}/logrotate.d/iscsiuio
|
mv %{buildroot}%{_sysconfdir}/logrotate.d/iscsiuiolog %{buildroot}%{_sysconfdir}/logrotate.d/iscsiuio
|
||||||
@ -210,6 +208,7 @@ mv %{buildroot}%{_sysconfdir}/logrotate.d/iscsiuiolog %{buildroot}%{_sysconfdir}
|
|||||||
|
|
||||||
%files -n libopeniscsiusr0_2_0
|
%files -n libopeniscsiusr0_2_0
|
||||||
%{_libdir}/libopeniscsiusr.so.*
|
%{_libdir}/libopeniscsiusr.so.*
|
||||||
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
%files -n iscsiuio
|
%files -n iscsiuio
|
||||||
%{_sbindir}/iscsiuio
|
%{_sbindir}/iscsiuio
|
||||||
|
Loading…
Reference in New Issue
Block a user