diff --git a/ipmctl-01.00.00.3382-unencumbered.tar.xz b/ipmctl-01.00.00.3382-unencumbered.tar.xz new file mode 100644 index 0000000..06ae39b --- /dev/null +++ b/ipmctl-01.00.00.3382-unencumbered.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:733fbb4ffd6115336bf3aac4e990f7661202e507c3ab4d79012194851c293947 +size 5894440 diff --git a/ipmctl-01.00.00.3382.tar.gz b/ipmctl-01.00.00.3382.tar.gz deleted file mode 100644 index 681f827..0000000 --- a/ipmctl-01.00.00.3382.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bcd2718fdad49fd6125e8bd04860b99dca04560d61a074081f776b23ee4342a1 -size 10448637 diff --git a/ipmctl.spec b/ipmctl.spec index a810155..1727b00 100644 --- a/ipmctl.spec +++ b/ipmctl.spec @@ -27,7 +27,8 @@ Summary: Utility for managing Intel Optane DC persistent memory modules License: BSD-3-Clause Group: System/Management Url: https://github.com/intel/ipmctl -Source: https://github.com/intel/ipmctl/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +#ource: https://github.com/intel/ipmctl/archive/v%%{version}.tar.gz#/%%{name}-%%{version}.tar.gz +Source: %{name}-%{version}-unencumbered.tar.xz Source1: %{name}-rpmlintrc Source10: https://github.com/%{pSafeC}/libsafec-%{vSafeC}.0-g570fa5.tar.gz #ource10: libsafec-prebuild.tar.xz @@ -99,6 +100,11 @@ API for development of Intel Optane DC persistent memory management utilities. %setup -q -n %{name}-%{version} -a 10 %patch1 -p1 +#rm -f BaseTools/Source/C/Common/FmmtLib.c CMake/safeclib.cmake +LICENSE_VIOLATIONS_IN=$(find . -type f -print0 | sort -z | + xargs -0r grep -li 'INTEL CONFIDENTIAL' || true) +[ -z "$LICENSE_VIOLATIONS_IN" ] + %build /bin/bash -ex "%{SOURCE11}" "%{SOURCE12}" "%{?_smp_mflags}" export PKG_CONFIG_PATH=$PWD/contrib/lib/pkgconfig