Improve readability of the spec file
This commit is contained in:
parent
6d003a5443
commit
3f81c43bc7
@ -274,7 +274,9 @@ discouraged.
|
||||
|
||||
%prep
|
||||
%autosetup -p 1
|
||||
|
||||
./bootstrap
|
||||
|
||||
%if %{with new_api}
|
||||
%{__cat} << EOF >> README%{distname}
|
||||
This version of the %{name} package ships the libcrypt.so.2
|
||||
@ -293,6 +295,7 @@ by the %{name}-compat package.
|
||||
%endif
|
||||
EOF
|
||||
%endif
|
||||
|
||||
%if %{with enosys_stubs}
|
||||
%{__cat} << EOF >> README.posix
|
||||
This version of the libcrypt.so.1 library has entirely removed
|
||||
@ -311,6 +314,7 @@ should work unmodified with the provided version of the
|
||||
libcrypt.so.1 library in place.
|
||||
EOF
|
||||
%endif
|
||||
|
||||
%if %{with staticlib}
|
||||
%{__cat} << EOF >> README.static
|
||||
Applications that use certain legacy APIs supplied by glibc’s
|
||||
@ -319,10 +323,11 @@ cannot be compiled nor linked against the supplied build of
|
||||
the object files provided in the static library libcrypt.a.
|
||||
EOF
|
||||
%endif
|
||||
%{__mkdir_p} %{_vpath_builddir}{,-compat}
|
||||
|
||||
|
||||
%build
|
||||
%{__mkdir_p} %{_vpath_builddir}{,-compat}
|
||||
|
||||
# Build the default system library.
|
||||
pushd %{_vpath_builddir}
|
||||
%configure \
|
||||
|
Loading…
Reference in New Issue
Block a user