Skip to content

Commit

Permalink
Go away rpm nobody likes you
Browse files Browse the repository at this point in the history
Signed-off-by: Rich Ercolani <[email protected]>
  • Loading branch information
rincebrain committed Jan 27, 2024
1 parent 762cd62 commit fc201c0
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions include/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ USER_H = \
libuutil.h \
libuutil_common.h \
libuutil_impl.h \
libzdb.h \
libzfs.h \
libzfs_core.h \
libzfsbootenv.h \
Expand Down
2 changes: 1 addition & 1 deletion lib/libzdb/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ libzdb_la_CFLAGS = $(AM_CFLAGS) $(KERNEL_CFLAGS) $(LIBRARY_CFLAGS)

noinst_LTLIBRARIES += libzdb.la

nodist_libzdb_la_SOURCES = \
libzdb_la_SOURCES = \
%D%/libzdb.c
15 changes: 15 additions & 0 deletions rpm/generic/zfs.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,21 @@ for managing zpools
%postun -n libzpool5 -p /sbin/ldconfig
%endif

%package -n libzdb1
Summary: ZDB library
Group: System Environment/Kernel

%description -n libzdb1
This package contains the zdb library, which is an unstable
library exposing the innards of zdb.

%if %{defined ldconfig_scriptlets}
%ldconfig_scriptlets -n libzdb1
%else
%post -n libzdb1 -p /sbin/ldconfig
%postun -n libzdb1 -p /sbin/ldconfig
%endif

%package -n libnvpair3
Summary: Solaris name-value library for Linux
Group: System Environment/Kernel
Expand Down

0 comments on commit fc201c0

Please sign in to comment.