specfile: commented sections that were no longer used deleted
This commit is contained in:
parent
2b62e65299
commit
0b67fe8abd
51
gmp.spec
51
gmp.spec
@ -116,36 +116,6 @@ sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
|||||||
export LD_LIBRARY_PATH=`pwd`/.libs
|
export LD_LIBRARY_PATH=`pwd`/.libs
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
cd ..
|
cd ..
|
||||||
#%ifarch %{ix86}
|
|
||||||
#mkdir build-sse2
|
|
||||||
#cd build-sse2
|
|
||||||
#ln -s ../configure .
|
|
||||||
#export CFLAGS=$(echo $RPM_OPT_FLAGS | sed -e "s/-mtune=[^ ]*//g" | sed -e "s/-march=[^ ]*//g")" -march=pentium4"
|
|
||||||
#./configure --build=%{_build} --host=%{_host} \
|
|
||||||
# --program-prefix=%{?_program_prefix} \
|
|
||||||
# --prefix=%{_prefix} \
|
|
||||||
# --exec-prefix=%{_exec_prefix} \
|
|
||||||
# --bindir=%{_bindir} \
|
|
||||||
# --sbindir=%{_sbindir} \
|
|
||||||
# --sysconfdir=%{_sysconfdir} \
|
|
||||||
# --datadir=%{_datadir} \
|
|
||||||
# --includedir=%{_includedir} \
|
|
||||||
# --libdir=%{_libdir} \
|
|
||||||
# --libexecdir=%{_libexecdir} \
|
|
||||||
# --localstatedir=%{_localstatedir} \
|
|
||||||
# --sharedstatedir=%{_sharedstatedir} \
|
|
||||||
# --mandir=%{_mandir} \
|
|
||||||
# --infodir=%{_infodir} \
|
|
||||||
# --enable-cxx
|
|
||||||
#sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
|
||||||
# -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
|
||||||
# -e 's|-lstdc++ -lm|-lstdc++|' \
|
|
||||||
# -i libtool
|
|
||||||
#export LD_LIBRARY_PATH=`pwd`/.libs
|
|
||||||
#make %{?_smp_mflags}
|
|
||||||
#unset CFLAGS
|
|
||||||
#cd ..
|
|
||||||
#%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd base
|
cd base
|
||||||
@ -157,18 +127,6 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|||||||
/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
|
/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
|
||||||
ln -sf libgmpxx.so.4 $RPM_BUILD_ROOT%{_libdir}/libgmpxx.so
|
ln -sf libgmpxx.so.4 $RPM_BUILD_ROOT%{_libdir}/libgmpxx.so
|
||||||
cd ..
|
cd ..
|
||||||
#%ifarch %{ix86}
|
|
||||||
#cd build-sse2
|
|
||||||
#export LD_LIBRARY_PATH=`pwd`/.libs
|
|
||||||
#mkdir $RPM_BUILD_ROOT%{_libdir}/sse2
|
|
||||||
#install -m 755 .libs/libgmp.so.*.* $RPM_BUILD_ROOT%{_libdir}/sse2
|
|
||||||
#cp -a .libs/libgmp.so.[^.]* $RPM_BUILD_ROOT%{_libdir}/sse2
|
|
||||||
#chmod 755 $RPM_BUILD_ROOT%{_libdir}/sse2/libgmp.so.[^.]*
|
|
||||||
#install -m 755 .libs/libgmpxx.so.*.* $RPM_BUILD_ROOT%{_libdir}/sse2
|
|
||||||
#cp -a .libs/libgmpxx.so.? $RPM_BUILD_ROOT%{_libdir}/sse2
|
|
||||||
#chmod 755 $RPM_BUILD_ROOT%{_libdir}/sse2/libgmpxx.so.?
|
|
||||||
#cd ..
|
|
||||||
#%endif
|
|
||||||
|
|
||||||
# Rename gmp.h to gmp-<arch>.h and gmp-mparam.h to gmp-mparam-<arch>.h to
|
# Rename gmp.h to gmp-<arch>.h and gmp-mparam.h to gmp-mparam-<arch>.h to
|
||||||
# avoid file conflicts on multilib systems and install wrapper include files
|
# avoid file conflicts on multilib systems and install wrapper include files
|
||||||
@ -201,12 +159,6 @@ export LD_LIBRARY_PATH=`pwd`/.libs
|
|||||||
make %{?_smp_mflags} check
|
make %{?_smp_mflags} check
|
||||||
cd ..
|
cd ..
|
||||||
%endif
|
%endif
|
||||||
#%ifarch %{ix86}
|
|
||||||
#cd build-sse2
|
|
||||||
#export LD_LIBRARY_PATH=`pwd`/.libs
|
|
||||||
#make %{?_smp_mflags} check
|
|
||||||
#cd ..
|
|
||||||
#%endif
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -236,9 +188,6 @@ exit 0
|
|||||||
%license COPYING COPYING.LESSERv3 COPYINGv2 COPYINGv3
|
%license COPYING COPYING.LESSERv3 COPYINGv2 COPYINGv3
|
||||||
%doc NEWS README
|
%doc NEWS README
|
||||||
%{_libdir}/libgmp.so.*
|
%{_libdir}/libgmp.so.*
|
||||||
#%ifarch %{ix86}
|
|
||||||
#%{_libdir}/sse2/*
|
|
||||||
#%endif
|
|
||||||
|
|
||||||
%files c++
|
%files c++
|
||||||
%{_libdir}/libgmpxx.so.*
|
%{_libdir}/libgmpxx.so.*
|
||||||
|
Loading…
Reference in New Issue
Block a user