|
|
|
@ -128,7 +128,7 @@ Group: Development/Libraries\
|
|
|
|
|
%{!-c:%{?ghc_pkg_c_deps:Requires: %{ghc_pkg_c_deps}}}\
|
|
|
|
|
%{-c:Requires: %{-c*}}\
|
|
|
|
|
%{-o:Obsoletes: %{ghc_pkg_name}-doc < %{-o*}}\
|
|
|
|
|
%{-o:Provides: %{ghc_pkg_name}-doc = %{version}-%{release}}\
|
|
|
|
|
Provides: %{ghc_pkg_name}-doc = %{version}-%{release}\
|
|
|
|
|
\
|
|
|
|
|
%description -n %{ghc_pkg_name}-devel\
|
|
|
|
|
%{?common_description}%{!?common_description:Haskell %{local_pkg_name} library.}\
|
|
|
|
@ -172,7 +172,7 @@ This package contains the profiling library.\
|
|
|
|
|
# ghc_strip_dynlinked
|
|
|
|
|
%ghc_strip_dynlinked\
|
|
|
|
|
%if 0%{!?__debug_package:1}\
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -exec sh -c "file {} | grep -q 'dynamically linked'" \\; -print | xargs strip\
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -exec sh -c "file {} | grep -q 'dynamically linked'" \\; -exec strip "{}" \\;\
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# ghc_bin_build
|
|
|
|
|