Exclude prepare-dirs from bin package

Prepare-dirs on i586 platforms end up in the same directory as the
other lib files so it would get automatically included in the bin
package. To prevent this only "*.so*" files are included in the bin
package from this directory.

fixes #8126

Signed-off-by: Gunnar Beutner <gunnar.beutner@netways.de>
This commit is contained in:
Tim Hardeck 2014-12-19 13:05:28 +01:00 committed by Gunnar Beutner
parent a3ea72c4ca
commit 6206f78ef0
1 changed files with 2 additions and 1 deletions

View File

@ -454,7 +454,8 @@ exit 0
%{_sbindir}/%{name} %{_sbindir}/%{name}
%exclude %{_libdir}/%{name}/libdb_ido_mysql* %exclude %{_libdir}/%{name}/libdb_ido_mysql*
%exclude %{_libdir}/%{name}/libdb_ido_pgsql* %exclude %{_libdir}/%{name}/libdb_ido_pgsql*
%{_libdir}/%{name} %dir %{_libdir}/%{name}
%{_libdir}/%{name}/*.so*
%{_datadir}/%{name} %{_datadir}/%{name}
%exclude %{_datadir}/%{name}/include %exclude %{_datadir}/%{name}/include
%{_mandir}/man8/%{name}.8.gz %{_mandir}/man8/%{name}.8.gz