Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
expat: update version: 2.0.1 -> 2.1.0; update config.* scripts
Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch>
- Loading branch information
David Abdurachmanov
authored and
David Abdurachmanov
committed
Dec 15, 2015
1 parent
c65dc64
commit d90ea4a
Showing
1 changed file
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
### RPM external expat 2.0.1 | ||
### RPM external expat 2.1.0 | ||
## INITENV +PATH LD_LIBRARY_PATH %{i}/lib64 | ||
Source: http://downloads.sourceforge.net/project/expat/%n/%realversion/expat-%realversion.tar.gz | ||
Provides: libc.so.6()(64bit) | ||
Provides: libc.so.6(GLIBC_2.2.5)(64bit) | ||
Source: http://downloads.sourceforge.net/project/%{n}/%{n}/%{realversion}/%{n}-%{realversion}.tar.gz | ||
|
||
%define drop_files %{i}/share | ||
|
||
%prep | ||
%setup -n %n-%{realversion} | ||
%setup -n %{n}-%{realversion} | ||
|
||
%build | ||
# Update to detect aarch64 and ppc64le | ||
rm -f ./conftools/config.{sub,guess} | ||
curl -L -k -s -o ./conftools/config.sub 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD' | ||
curl -L -k -s -o ./conftools/config.guess 'http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD' | ||
chmod +x ./conftools/config.{sub,guess} | ||
|
||
./configure --prefix=%{i} | ||
make | ||
make install | ||
make %{makeprocesses} | ||
|
||
%install | ||
|
||
%post | ||
find $RPM_INSTALL_PREFIX/%{pkgrel}/lib* -name "*.la" -exec perl -p -i -e "s|%{instroot}|$CMS_INSTALL_PREFIX|g" {} \; | ||
make install |