diff options
Diffstat (limited to 'contrib/sssd.spec.in')
-rw-r--r-- | contrib/sssd.spec.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index dd3689574..e3baf043e 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -125,10 +125,10 @@ then # Older versions of rpmbuild can only handle one -f option echo %{_libdir}/krb5/plugins/libkrb5/sssd_krb5_locator_plugin.so >> sss_daemon.lang fi -if ls $RPM_BUILD_ROOT/%{python_sitelib}/*.egg-info 1> /dev/null 2> /dev/null -then - echo %{python_sitelib}/*.egg-info >> sss_daemon.lang -fi +for file in `ls $RPM_BUILD_ROOT/%{python_sitelib}/*.egg-info 2> /dev/null` +do + echo %{python_sitelib}/`basename $file` >> sss_daemon.lang +done %clean rm -rf $RPM_BUILD_ROOT |