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