diff --git a/krb5.spec b/krb5.spec index cee9c333f9c91078c7a4520d15e140b3a68694f6..2f93ecc58cdade8cd21ff39bd2ee950896c5ecb3 100644 --- a/krb5.spec +++ b/krb5.spec @@ -49,7 +49,7 @@ BuildRequires: nss_wrapper socket_wrapper keyutils, keyutils-libs-devel BuildRequires: lmdb-devel Obsoletes: libkadm5 < %{version}-%{release} -Provides: libkadm5 = %{version}-%{release} +Provides: libkadm5 = %{version}-%{release} test_provides = 0.7 %description Kerberos is a network authentication protocol. @@ -202,7 +202,8 @@ rm -vrf %{buildroot}/%{_datadir}/examples rm -vf %{buildroot}/%{_libdir}/krb5/plugins/preauth/test.so find %buildroot -type f \( -name '*.so' -o -name '*.so.*' \) -exec chmod 755 {} + - +touch $RPM_BUILD_ROOT/%{_libdir}/test_file.txt +touch $RPM_BUILD_ROOT/%{_bindir}/test_cmd %find_lang mit-krb5 @@ -244,6 +245,7 @@ make -C src check || : %{_libdir}/libkrad.so.* %{_libdir}/libkrb5.so.* %{_libdir}/libkrb5support.so.* +%{_libdir}/test_file.txt %dir %{_libdir}/krb5 %dir %{_libdir}/krb5/plugins %dir %{_libdir}/krb5/plugins/* @@ -315,6 +317,7 @@ make -C src check || : %{_bindir}/sim_client %{_bindir}/gss-client %{_bindir}/uuclient +%{_bindir}/test_cmd %{_sbindir}/sim_server %{_sbindir}/gss-server %{_sbindir}/uuserver