Create macrosdir

This commit is contained in:
Björn Esser 2017-04-10 22:37:08 +02:00
parent e45bf1c6a1
commit 893874c167
1 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ pushd %{_cmake_build_subdir}
%make_install
# Create a macro for use in other spec-files.
%{__mkdir} -p %{buildroot}/%{macrosdir}/macros.%{name}
%{__cat} << EOF > %{buildroot}/%{macrosdir}/macros.%{name}
%_%{name}_major_so_ver %{major_so_ver}
EOF