mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
66da789f8d
Set up configparms only if @prefix@ is in fact /usr. * rpm/Makefile ($(config)): Substitute $(prefix) for @prefix@.
27 lines
355 B
Plaintext
27 lines
355 B
Plaintext
Name: glibc
|
|
Description: GNU libc
|
|
Group: Development/Libraries/Libc
|
|
Version: @VERSION@
|
|
Release: 1
|
|
Copyright: LGPL, GPL
|
|
Source: glibc-@VERSION@.tar.gz
|
|
|
|
%prep
|
|
%setup
|
|
|
|
%build
|
|
configure --prefix=@prefix@
|
|
if test x@prefix@ = /usr; then
|
|
cat >configparms <<EOF
|
|
slibdir=/lib
|
|
sysconfdir=/etc
|
|
EOF
|
|
fi
|
|
make
|
|
|
|
%install
|
|
make install
|
|
|
|
%files
|
|
%doc FAQ NEWS NOTES README
|