Remove redundant tags/sections
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=25
This commit is contained in:
parent
55c6ba998a
commit
7489e263e8
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 4 17:20:28 UTC 2012 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Remove redundant tags/sections (see specfile guidelines)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 30 09:13:23 UTC 2012 - rguenther@suse.com
|
Mon Jan 30 09:13:23 UTC 2012 - rguenther@suse.com
|
||||||
|
|
||||||
|
11
gmp.spec
11
gmp.spec
@ -110,15 +110,13 @@ Authors:
|
|||||||
# --enable-fat \
|
# --enable-fat \
|
||||||
#%endif
|
#%endif
|
||||||
%define sanitized_platform %(echo %{_target_cpu} | sed -e "s/sparc64.*/sparc64/" -e "s/sparcv.*/sparc/")-%{_vendor}-%{_target_os}
|
%define sanitized_platform %(echo %{_target_cpu} | sed -e "s/sparc64.*/sparc64/" -e "s/sparcv.*/sparc/")-%{_vendor}-%{_target_os}
|
||||||
CFLAGS="$RPM_OPT_FLAGS -fexceptions" \
|
export CFLAGS="$RPM_OPT_FLAGS -fexceptions";
|
||||||
./configure --prefix=/usr \
|
%configure \
|
||||||
--libdir=%{_libdir} \
|
|
||||||
--infodir=%{_infodir} \
|
|
||||||
--build=%{sanitized_platform} \
|
--build=%{sanitized_platform} \
|
||||||
--enable-cxx \
|
--enable-cxx \
|
||||||
--enable-fat \
|
--enable-fat \
|
||||||
--enable-mpbsd
|
--enable-mpbsd
|
||||||
make CFLAGS="$RPM_OPT_FLAGS -fexceptions" %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# do not disable "make check", FIX THE BUGS!
|
# do not disable "make check", FIX THE BUGS!
|
||||||
@ -150,9 +148,6 @@ rm $RPM_BUILD_ROOT%{_libdir}/libmp.la
|
|||||||
%postun devel
|
%postun devel
|
||||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files -n libgmp10
|
%files -n libgmp10
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libgmp.so.10*
|
%{_libdir}/libgmp.so.10*
|
||||||
|
Loading…
Reference in New Issue
Block a user