alternative working gnustack fix
This commit is contained in:
parent
ca2473fd1c
commit
0a4cf75bd0
5
icu.spec
5
icu.spec
@ -9,7 +9,8 @@ URL: http://www.ibm.com/software/globalization/icu/
|
|||||||
Source0: ftp://ftp.software.ibm.com/software/globalization/icu/%{version}/%{name}-%{version}.tgz
|
Source0: ftp://ftp.software.ibm.com/software/globalization/icu/%{version}/%{name}-%{version}.tgz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
BuildRequires: doxygen, prelink
|
BuildRequires: doxygen
|
||||||
|
Patch0: icu-3.4-gnustack.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The International Components for Unicode (ICU) libraries provide
|
The International Components for Unicode (ICU) libraries provide
|
||||||
@ -48,6 +49,7 @@ Group: Documentation
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}
|
%setup -q -n %{name}
|
||||||
|
%patch0 -p1 -b .gnustack
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd source
|
cd source
|
||||||
@ -62,7 +64,6 @@ rm -rf $RPM_BUILD_ROOT source/__docs
|
|||||||
make -C source install DESTDIR=$RPM_BUILD_ROOT
|
make -C source install DESTDIR=$RPM_BUILD_ROOT
|
||||||
make -C source install-doc docdir=__docs
|
make -C source install-doc docdir=__docs
|
||||||
chmod +x $RPM_BUILD_ROOT%{_libdir}/*.so.*
|
chmod +x $RPM_BUILD_ROOT%{_libdir}/*.so.*
|
||||||
execstack -c $RPM_BUILD_ROOT%{_libdir}/libicudata.so.*.*
|
|
||||||
|
|
||||||
%check || :
|
%check || :
|
||||||
make -C source check
|
make -C source check
|
||||||
|
Loading…
Reference in New Issue
Block a user