1
0

Accepting request 1152111 from Base:System

- Remove libmpathpersist-example-old.c, which has been obsolete
  since multipath-tools 0.8.6. (forwarded request 1152109 from mwilck)

OBS-URL: https://build.opensuse.org/request/show/1152111
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/multipath-tools?expand=0&rev=161
This commit is contained in:
Ana Guerrero 2024-02-27 21:45:29 +00:00 committed by Git OBS Bridge
commit ddae2cdcfd
8 changed files with 22 additions and 55 deletions

View File

@ -6,9 +6,7 @@
<param name="filename">multipath-tools</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@+suse.%h</param>
<param name="revision">factory</param>
<param name="match-tag">0.[0-9].[0-9]*</param>
<param name="versionrewrite-pattern">[-]pre\.([0-9])</param>
<param name="versionrewrite-replacement">~\1</param>
<param name="match-tag">0.[0-9].[0-9]</param>
<param name="changesgenerate">enable</param>
</service>
<service name="set_version" mode="manual"/>

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/multipath-tools.git</param>
<param name="changesrevision">dcd98a3c394ae7817a5e7ac81bd58c7635201e9e</param></service></servicedata>
<param name="changesrevision">bcae610f0778cf7952786d13139d8f409762811d</param></service></servicedata>

View File

@ -1,41 +0,0 @@
/*
* This is a minimal skeleton for code using libmpathpersist.
* Compile with "-lmpathpersist -lmultipath -ludev".
*
* Header files for libmultipath are intentionally not included
* in the multipath-tools-devel package, because libmultipath has
* no well defined API for external programs at this time.
*/
#include <mpath_persist.h>
#include <libudev.h>
struct udev *udev;
/*
* logsink determines where libmultipath log messages go
* 1 - log to syslog only
* -1 - log to syslog and stderr
* 0 - log to syslog and stderr, with timestamps
*/
int logsink;
static struct config *conf;
struct config *get_multipath_config(void) {
return conf;
}
void put_multipath_config(struct config* c)
{
}
int main(void)
{
udev = udev_new();
conf = mpath_lib_init();
if(!conf) {
udev_unref(udev);
return 1;
}
return 0;
}

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dca108f63fca60e6069bf4953f4f0f99886f2a43f4957c61c3388cc36e0053e1
size 2868236

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:207ddfc111740840b54d553f254d1e2c5f52439e5d44b0e337eb962e9d592927
size 2857484

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Feb 27 10:12:35 UTC 2024 - Martin Wilck <mwilck@suse.com>
- Remove libmpathpersist-example-old.c, which has been obsolete
since multipath-tools 0.8.6.
-------------------------------------------------------------------
Mon Feb 26 11:57:03 UTC 2024 - Martin Wilck <mwilck@suse.com>
- Update to version 0.9.8+83+suse.bcae610 (bsc#1220374)
* multipath-tools: added NEWS.md
-------------------------------------------------------------------
Thu Feb 15 11:00:59 UTC 2024 - Martin Wilck <mwilck@suse.com>

View File

@ -1,4 +1,4 @@
name: multipath-tools
version: 0.9.8~1+82+suse.dcd98a3
mtime: 1707986847
commit: dcd98a3c394ae7817a5e7ac81bd58c7635201e9e
version: 0.9.8+83+suse.bcae610
mtime: 1708946079
commit: bcae610f0778cf7952786d13139d8f409762811d

View File

@ -35,7 +35,7 @@
%define libdmmp_version %(echo %{_libdmmp_version} | tr . _)
Name: multipath-tools
Version: 0.9.8~1+82+suse.dcd98a3
Version: 0.9.8+83+suse.bcae610
Release: 0
Summary: Tools to Manage Multipathed Devices with the device-mapper
License: GPL-2.0-only AND GPL-3.0-or-later
@ -49,7 +49,6 @@ Source2: dont-del-part-nodes.rules
# Dracut conf file to make sure 11-dm-parts.rules is included in initrd
Source3: dm-parts.conf
Source4: libmpathpersist-example.c
Source5: libmpathpersist-example-old.c
Source6: multipath-dracut.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{?systemd_requires}
@ -163,7 +162,6 @@ This package provides development files and documentation for libdmmp.
%prep
%setup -q -n multipath-tools-%{version}
cp %{SOURCE4} .
cp %{SOURCE5} .
%autopatch -p1
%build
@ -223,6 +221,7 @@ exit 0
%files
%doc README.md
%doc NEWS.md
%license LICENSES/GPL-2.0
%license LICENSES/GPL-3.0
%{_udevrulesdir}/11-dm-mpath.rules
@ -274,7 +273,6 @@ exit 0
/usr/include/mpath_valid.h
%{_mandir}/man3/mpath_persistent_*
%doc libmpathpersist-example.c
%doc libmpathpersist-example-old.c
%files -n kpartx
%license LICENSES/GPL-2.0