Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion utils/docker/test_package/test-packages-installation.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def get_incompatible_packages(packages_path, pkgconfig_directory, split_param):
for line in out:
if 'version=' in line:
version = line.split('=')[1].strip(linesep)
if not version in PMDK_VERSION.replace('~', '-'):
if not version in PMDK_VERSION:
incompatibe_packages.append(library)
return incompatibe_packages

Expand Down
2 changes: 1 addition & 1 deletion utils/pkg-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function check_tool() {
}

function get_version() {
echo -n $1 | sed "s/-rc/~rc/"
echo -n $1 | sed "s/-/~/g"
}

function get_os() {
Expand Down
2 changes: 2 additions & 0 deletions utils/pmdk.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ make %{?_smp_mflags} \
%if %{without ndctl}
NDCTL_ENABLE=n \
%endif
SRCVERSION=%{version} \
__MAKE_FLAGS__


Expand All @@ -424,6 +425,7 @@ make install DESTDIR=%{buildroot} \
%if %{without ndctl}
NDCTL_ENABLE=n \
%endif
SRCVERSION=%{version} \
LIB_AR= \
prefix=%{_prefix} \
libdir=%{_libdir} \
Expand Down
Loading