Remove unneeded export header files for pk11 and pkcs11

This commit is contained in:
Petr Menšík 2018-01-19 19:51:36 +01:00
parent 7d67be0060
commit bd8ef642c3

View File

@ -739,7 +739,9 @@ pushd export-libs
make DESTDIR=${RPM_BUILD_ROOT} install
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/ld.so.conf.d
echo "%{_libdir}/%{_export_dir}" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-export-%{_arch}.conf
cp -fp config.h ${RPM_BUILD_ROOT}/%{_export_includedir}
cp -fp config.h ${RPM_BUILD_ROOT}/%{_includedir}%{_export_dir}
rm -rf ${RPM_BUILD_ROOT}/%{_includedir}%{_export_dir}/pkcs11/
rm -f ${RPM_BUILD_ROOT}/%{_includedir}%{_export_dir}/pk11/{constants,internal,pk11,result}.h
popd
%endif