|
@@ -45,14 +45,15 @@ Distribution: OpenPKG [BASE]
|
|
|
Group: SCM
|
|
Group: SCM
|
|
|
License: GPL
|
|
License: GPL
|
|
|
Version: %{V_cvs}
|
|
Version: %{V_cvs}
|
|
|
-Release: 20020919
|
|
|
|
|
|
|
+Release: 20021002
|
|
|
|
|
|
|
|
# list of sources
|
|
# list of sources
|
|
|
Source0: http://www.cvshome.org/files/19/10/cvs-%{V_cvs}.tar.gz
|
|
Source0: http://www.cvshome.org/files/19/10/cvs-%{V_cvs}.tar.gz
|
|
|
Source1: ftp://riemann.iam.uni-bonn.de/pub/users/roessler/cvslock/cvslock-%{V_cvslock}.tar.gz
|
|
Source1: ftp://riemann.iam.uni-bonn.de/pub/users/roessler/cvslock/cvslock-%{V_cvslock}.tar.gz
|
|
|
Source2: http://www.red-bean.com/cvs2cl/cvs2cl.pl
|
|
Source2: http://www.red-bean.com/cvs2cl/cvs2cl.pl
|
|
|
Source3: cvs.patches.rse
|
|
Source3: cvs.patches.rse
|
|
|
-Source4: rc.cvs
|
|
|
|
|
|
|
+Source4: cvs.patches.msvb
|
|
|
|
|
+Source5: rc.cvs
|
|
|
Patch0: cvs.patch
|
|
Patch0: cvs.patch
|
|
|
|
|
|
|
|
# build information
|
|
# build information
|
|
@@ -100,6 +101,12 @@ AutoReqProv: no
|
|
|
cat %{SOURCE cvs.patches.rse} |\
|
|
cat %{SOURCE cvs.patches.rse} |\
|
|
|
sed -e 's;\(#define RSE_PATCH_CVSUSER_CALLER "\)cvs\("\);\1%{with_rse_patch_cvsuser_caller}\2;' |\
|
|
sed -e 's;\(#define RSE_PATCH_CVSUSER_CALLER "\)cvs\("\);\1%{with_rse_patch_cvsuser_caller}\2;' |\
|
|
|
%{l_patch} -p0
|
|
%{l_patch} -p0
|
|
|
|
|
+ # patch the patches to run on Solaris
|
|
|
|
|
+ case "%{l_target}" in
|
|
|
|
|
+ *-solaris* )
|
|
|
|
|
+ %{l_patch} -p0 < %{SOURCE cvs.patches.msvb}
|
|
|
|
|
+ ;;
|
|
|
|
|
+ esac
|
|
|
)
|
|
)
|
|
|
%endif
|
|
%endif
|
|
|
|
|
|