Small changes to keep spec similar to EPEL CMake3

This commit is contained in:
Björn Esser 2017-07-20 11:48:55 +02:00
parent 434fe8b1c8
commit cd2a406fbd

View File

@ -322,7 +322,7 @@ EOF
# Create dir for filsystem-pkg, if not existing. # Create dir for filsystem-pkg, if not existing.
%if "%{_libdir}" != "%{_prefix}/lib" %if "%{_libdir}" != "%{_prefix}/lib"
mkdir -p %{buildroot}/%{_prefix}/lib/%{name} mkdir -p %{buildroot}/%{_prefix}/lib/%{orig_name}
%endif %endif
@ -417,9 +417,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
%files filesystem %files filesystem
%if "%{_libdir}" != "%{_prefix}/lib" %if "%{_libdir}" != "%{_prefix}/lib"
%dir %{_prefix}/lib/%{name}/ %dir %{_prefix}/lib/%{orig_name}/
%endif %endif
%dir %{_libdir}/%{name}/ %dir %{_libdir}/%{orig_name}/
%dir %{_datadir}/%{name}/ %dir %{_datadir}/%{name}/
%dir %{_datadir}/%{name}/Modules/ %dir %{_datadir}/%{name}/Modules/