git://git.jankratochvil.net
/
nethome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
+CFLAGS settings options enhanced
[nethome.git]
/
src
/
rpm
/
SPECS
/
cvs.spec
diff --git
a/src/rpm/SPECS/cvs.spec
b/src/rpm/SPECS/cvs.spec
index
fcb80b8
..
04765dd
100644
(file)
--- a/
src/rpm/SPECS/cvs.spec
+++ b/
src/rpm/SPECS/cvs.spec
@@
-1,7
+1,8
@@
+%define nokerberos 1
Summary: A version control system.
Name: cvs
Version: 1.11
Summary: A version control system.
Name: cvs
Version: 1.11
-Release: 3
+Release: 3
_nokerberos_static
Copyright: GPL
Group: Development/Tools
Source: ftp://ftp.cvshome.org/pub/cvs-%{version}/cvs-%{version}.tar.gz
Copyright: GPL
Group: Development/Tools
Source: ftp://ftp.cvshome.org/pub/cvs-%{version}/cvs-%{version}.tar.gz
@@
-14,6
+15,7
@@
Patch4: cvs-1.10.8-zlib.patch
Patch6: cvs-1.10.8-errno.patch
Patch7: cvs-1.11-security.patch
Patch8: cvs-1.11-existence.patch
Patch6: cvs-1.10.8-errno.patch
Patch7: cvs-1.11-security.patch
Patch8: cvs-1.11-existence.patch
+Patch100: cvs-1.11-umask022.patch
Prereq: /sbin/install-info
Prefix: %{_prefix}
Buildroot: %{_tmppath}/%{name}-root
Prereq: /sbin/install-info
Prefix: %{_prefix}
Buildroot: %{_tmppath}/%{name}-root
@@
-49,10
+51,12
@@
Install the cvs package if you need to use a version control system.
%patch6 -p1 -b .errno
%patch7 -p1 -b .security
%patch8 -p1 -b .existence
%patch6 -p1 -b .errno
%patch7 -p1 -b .security
%patch8 -p1 -b .existence
+%patch100 -p1 -b .umask022
%build
autoheader
autoconf
%build
autoheader
autoconf
+export LDFLAGS="-s -static -L$HOME/staticnss -lc -lnss_files -lnss_dns -lresolv"
%configure \
%{!?nokerberos: --with-gssapi=/usr/kerberos --with-krb4=/usr/kerberos --enable-encryption}
%configure \
%{!?nokerberos: --with-gssapi=/usr/kerberos --with-krb4=/usr/kerberos --enable-encryption}