diff --git a/perl-inline/perl-inline.spec b/perl-inline/perl-inline.spec index f47988c408..41731bbb77 100644 --- a/perl-inline/perl-inline.spec +++ b/perl-inline/perl-inline.spec @@ -77,7 +77,6 @@ AutoReqProv: no %{l_prefix}/bin/perl-openpkg install -d Inline-%{V_inline} # build and install Inline::CPP module - chmod u+w Inline-CPP-%{V_inline_cpp}/Makefile.PL %{l_shtool} subst \ -e 's:$cc_guess);:"%{l_prefix}/bin/g++");:' \ -e 's:$libs_guess);:"-lstdc++");:' \ diff --git a/pgp2/pgp2.spec b/pgp2/pgp2.spec index cbe153e287..f5f70817e6 100644 --- a/pgp2/pgp2.spec +++ b/pgp2/pgp2.spec @@ -23,6 +23,7 @@ ## SUCH DAMAGE. ## +# package version %define V_short 2.x %define V_long 2.6.3i %define V_strip 263 @@ -37,7 +38,7 @@ Distribution: OpenPKG [PLUS] Group: Cryptography License: GPL Version: %{V_long} -Release: 20021122 +Release: 20030530 # list of sources Source0: ftp://ftp.pgpi.org/pub/pgp/%{V_short}/src/pgp%{V_strip}is.tar.gz @@ -48,8 +49,8 @@ Patch1: system.patch # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20021120, gcc -PreReq: OpenPKG, openpkg >= 20021120 +BuildPreReq: OpenPKG, openpkg >= 20030516, gcc +PreReq: OpenPKG, openpkg >= 20030516 AutoReq: no AutoReqProv: no @@ -76,7 +77,6 @@ AutoReqProv: no %patch1 -p0 # patch distribution - chmod u+w src/fileio.h %{l_shtool} subst \ -e 's;\/usr\/local\/lib\/pgp;%{l_prefix}\/etc\/pgp2;' \ src/fileio.h diff --git a/rcs/rcs.spec b/rcs/rcs.spec index 4656ddcfb7..e45ad51428 100644 --- a/rcs/rcs.spec +++ b/rcs/rcs.spec @@ -33,7 +33,7 @@ Distribution: OpenPKG [BASE] Group: SCM License: GPL Version: 5.7 -Release: 20020807 +Release: 20030530 # list of sources Source0: ftp://ftp.gnu.org/gnu/rcs/rcs-%{version}.tar.gz @@ -41,8 +41,8 @@ Source0: ftp://ftp.gnu.org/gnu/rcs/rcs-%{version}.tar.gz # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20020206, diffutils, make -PreReq: OpenPKG, openpkg >= 20020206, diffutils +BuildPreReq: OpenPKG, openpkg >= 20030516, diffutils, make +PreReq: OpenPKG, openpkg >= 20030516, diffutils AutoReq: no AutoReqProv: no @@ -57,8 +57,9 @@ AutoReqProv: no %setup -q %build - chmod u+w src/conf.sh - %{l_shtool} subst -e 's/\(.*superuser permissions.*\)/\1; : \\/' src/conf.sh + %{l_shtool} subst \ + -e 's/\(.*superuser permissions.*\)/\1; : \\/' \ + src/conf.sh CC="%{l_cc}" \ CFLAGS="%{l_cflags -O}" \ ./configure \ diff --git a/rie/rie.spec b/rie/rie.spec index 5608212a0f..5464fe4b84 100644 --- a/rie/rie.spec +++ b/rie/rie.spec @@ -33,7 +33,7 @@ Distribution: OpenPKG [PLUS] Group: Compiler License: GPL Version: 1.0.6 -Release: 20020821 +Release: 20030530 # list of sources Source0: ftp://ftp.is.titech.ac.jp/pub/Rie/rie-%{version}.tar.gz @@ -41,8 +41,8 @@ Source0: ftp://ftp.is.titech.ac.jp/pub/Rie/rie-%{version}.tar.gz # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20020206 -PreReq: OpenPKG, openpkg >= 20020206 +BuildPreReq: OpenPKG, openpkg >= 20030516 +PreReq: OpenPKG, openpkg >= 20030516 AutoReq: no AutoReqProv: no @@ -64,8 +64,9 @@ AutoReqProv: no %prep %setup -q - chmod u+w src/Makefile.in - %{l_shtool} subst -e 's;/share;/share/rie;' src/Makefile.in + %{l_shtool} subst \ + -e 's;/share;/share/rie;' \ + src/Makefile.in %build cd src diff --git a/sav/sav.spec b/sav/sav.spec index e2674f0a6d..6905e867e0 100644 --- a/sav/sav.spec +++ b/sav/sav.spec @@ -37,7 +37,7 @@ Distribution: OpenPKG [EVAL] Group: Filesystem License: Commercial/Free-Trail Version: %{V_full} -Release: 20030108 +Release: 20030530 # list of sources Source0: http://www.sophos.com/downloads/ide/%{V_short}_ides.zip @@ -54,8 +54,8 @@ Source5: freebsd.libc.so.3 # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20030108, infozip -PreReq: OpenPKG, openpkg >= 20030108 +BuildPreReq: OpenPKG, openpkg >= 20030516, infozip +PreReq: OpenPKG, openpkg >= 20030516 AutoReq: no AutoReqProv: no @@ -88,7 +88,6 @@ AutoReqProv: no $RPM_BUILD_ROOT%{l_prefix}/libexec/sav \ $RPM_BUILD_ROOT%{l_prefix}/man/man1 ( cd sav-install - chmod u+w install.sh %{l_shtool} subst -e 's;chown;true;g' -e 's;chgrp;true;g' install.sh %{l_bash} install.sh -readytogo -v \ -d $RPM_BUILD_ROOT%{l_prefix} \ diff --git a/sendmail/sendmail.spec b/sendmail/sendmail.spec index eb695f0468..fefbbfd779 100644 --- a/sendmail/sendmail.spec +++ b/sendmail/sendmail.spec @@ -33,7 +33,7 @@ Distribution: OpenPKG [PLUS] Group: Mail License: BSD Version: 8.12.9 -Release: 20030509 +Release: 20030530 # package options %option with_tls no @@ -53,8 +53,8 @@ Patch0: sendmail-8.12.0-mysqlmap.patch # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20030103, m4, fsl, gcc, make, db >= 4.1.25 -PreReq: OpenPKG, openpkg >= 20030103, m4, fsl, make, perl, procmail +BuildPreReq: OpenPKG, openpkg >= 20030516, m4, fsl, gcc, make, db >= 4.1.25 +PreReq: OpenPKG, openpkg >= 20030516, m4, fsl, make, perl, procmail %if "%{with_tls}" == "yes" BuildPreReq: openssl %endif @@ -110,7 +110,6 @@ Conflicts: ssmtp, exim, postfix ( cd sendmail-%{version} # indicate with a plus sign that we use a patched version - chmod u+w sendmail/version.c %{l_shtool} subst \ -e 's;\(Version\[\][^"]*\)"[^"]*";\1"%{version}+";' \ sendmail/version.c diff --git a/smtpfeed/smtpfeed.spec b/smtpfeed/smtpfeed.spec index bb680dd907..54c654f435 100644 --- a/smtpfeed/smtpfeed.spec +++ b/smtpfeed/smtpfeed.spec @@ -33,7 +33,7 @@ Distribution: OpenPKG [BASE] Group: Mail License: GPL Version: 1.18 -Release: 20030120 +Release: 20030530 # list of sources Source0: ftp://ftp.kyoto.wide.ad.jp/pub/mail/smtpfeed/smtpfeed-%{version}.tar.gz @@ -44,8 +44,8 @@ Source3: fsl.smtpfeed # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20020206, fsl -PreReq: OpenPKG, openpkg >= 20020206, fsl +BuildPreReq: OpenPKG, openpkg >= 20030516, fsl +PreReq: OpenPKG, openpkg >= 20030516, fsl AutoReq: no AutoReqProv: no @@ -62,7 +62,6 @@ AutoReqProv: no %build # build SMTPfeed ( cd smtpfeed-%{version} - chmod u+w version.c %{l_shtool} subst \ -e 's;smtpfeed 1.[0-9]*;smtpfeed %{version};' \ version.c diff --git a/ssmtp/ssmtp.spec b/ssmtp/ssmtp.spec index 6adf172cfc..21689a8d04 100644 --- a/ssmtp/ssmtp.spec +++ b/ssmtp/ssmtp.spec @@ -33,7 +33,7 @@ Distribution: OpenPKG [BASE] Group: Mail License: GPL Version: 2.48 -Release: 20030409 +Release: 20030530 # list of sources Source0: ftp://metalab.unc.edu/pub/Linux/system/mail/mta/ssmtp-%{version}.tar.gz @@ -43,8 +43,8 @@ Patch0: ssmtp.patch # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20020206, make, gcc -PreReq: OpenPKG, openpkg >= 20020206 +BuildPreReq: OpenPKG, openpkg >= 20030516, make, gcc +PreReq: OpenPKG, openpkg >= 20030516 AutoReq: no AutoReqProv: no Provides: MTA @@ -62,7 +62,7 @@ Conflicts: sendmail, exim, postfix %setup -q rm -rf RCS %patch0 -p0 - rm config.cache + rm -f config.cache %build CC="%{l_cc}" \ @@ -83,7 +83,6 @@ Conflicts: sendmail, exim, postfix $RPM_BUILD_ROOT%{l_prefix}/var/ssmtp %{l_shtool} install -c -s -m 755 \ ssmtp $RPM_BUILD_ROOT%{l_prefix}/sbin/ - chmod u+w ssmtp.8 %{l_shtool} install -c -m 644 \ -e 's;.B ssmtp;.B %{l_prefix}/sbin/ssmtp;' \ -e 's;.B /usr/lib/sendmail;.B %{l_prefix}/sbin/sendmail;' \ diff --git a/teapop/teapop.spec b/teapop/teapop.spec index 4630c6b823..f8bca2b059 100644 --- a/teapop/teapop.spec +++ b/teapop/teapop.spec @@ -33,7 +33,7 @@ Distribution: OpenPKG [PLUS] Group: Mail License: BSD Version: 0.3.5 -Release: 20030404 +Release: 20030530 # list of sources Source0: http://www.toontown.org/pub/teapop/teapop-%{version}.tar.gz @@ -43,8 +43,8 @@ Source2: fsl.teapop # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20020206, fsl >= 1.0.6, gcc, make -PreReq: OpenPKG, openpkg >= 20020206, fsl >= 1.0.6 +BuildPreReq: OpenPKG, openpkg >= 20030516, fsl >= 1.0.6, gcc, make +PreReq: OpenPKG, openpkg >= 20030516, fsl >= 1.0.6 AutoReq: no AutoReqProv: no Provides: POP @@ -58,7 +58,6 @@ Provides: POP %setup -q # Disabling check for PID file directory since it will be created later # during %install - chmod u+w config/configure %{l_shtool} subst \ -e 's;^elif test -d \$pop_piddir\; then$;elif true\; then;' \ config/configure @@ -66,7 +65,6 @@ Provides: POP # Removing LOG_NDELAY in openlog(3) call which prevents fsl from logging. # Since we don't operate teapop in a chroot environment this shouldn't be # an issue. - chmod u+w teapop/teapop.c %{l_shtool} subst \ -e 's; | LOG_NDELAY;;' \ teapop/teapop.c diff --git a/vcg/vcg.spec b/vcg/vcg.spec index 4f06719eaf..29478bada1 100644 --- a/vcg/vcg.spec +++ b/vcg/vcg.spec @@ -38,7 +38,7 @@ Distribution: OpenPKG [EVAL] Group: Graphics License: GPL Version: %{V_opkg} -Release: 20030202 +Release: 20030530 # list of sources Source0: ftp://ftp.cs.uni-sb.de/pub/graphics/vcg/vcg.%{V_vendor}.tgz @@ -46,8 +46,8 @@ Source0: ftp://ftp.cs.uni-sb.de/pub/graphics/vcg/vcg.%{V_vendor}.tgz # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20030103, X11, make, gcc -PreReq: OpenPKG, openpkg >= 20030103, X11 +BuildPreReq: OpenPKG, openpkg >= 20030516, X11, make, gcc +PreReq: OpenPKG, openpkg >= 20030516, X11 AutoReq: no AutoReqProv: no @@ -91,7 +91,6 @@ AutoReqProv: no -e 's;RMNAME;rm -f;' \ -e 's;parsegen;false parsegen-dummy;' \ tMakefile - chmod u+w src/*.[ch] src/preconf/*.[ch] %{l_shtool} subst \ -e 's;;;g' \ src/*.[ch] src/preconf/*.[ch] diff --git a/xboard/xboard.spec b/xboard/xboard.spec index 5bc174b91d..e659e08af3 100644 --- a/xboard/xboard.spec +++ b/xboard/xboard.spec @@ -33,7 +33,7 @@ Distribution: OpenPKG [EVAL] Group: Games License: GPL Version: 4.2.6 -Release: 20030408 +Release: 20030530 # list of sources Source0: ftp://ftp.gnu.org/gnu/xboard/xboard-%{version}.tar.gz @@ -41,8 +41,8 @@ Source0: ftp://ftp.gnu.org/gnu/xboard/xboard-%{version}.tar.gz # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20030103, X11, xaw3d -PreReq: OpenPKG, openpkg >= 20030103, X11 +BuildPreReq: OpenPKG, openpkg >= 20030516, X11, xaw3d +PreReq: OpenPKG, openpkg >= 20030516, X11 AutoReq: no AutoReqProv: no @@ -57,11 +57,9 @@ AutoReqProv: no %prep %setup -q - chmod u+w xboard.h %{l_shtool} subst \ -e 's;gnuchessx;gnuchess xboard;1' \ xboard.h - chmod u+w Makefile.in %{l_shtool} subst \ -e 's;\(infodir\ =\ \$(prefix)\/\)share\/\(info\);\1\2;1' \ Makefile.in diff --git a/xfig/xfig.spec b/xfig/xfig.spec index caf4fd729a..c1d795c701 100644 --- a/xfig/xfig.spec +++ b/xfig/xfig.spec @@ -33,7 +33,7 @@ Distribution: OpenPKG [EVAL] Group: XWindow License: MIT-style Version: 3.2.4 -Release: 20030428 +Release: 20030530 # list of sources Source0: http://www.xfig.org/xfigdist/xfig.%{version}.code_only.tar.gz @@ -43,8 +43,8 @@ Patch0: xfig.patch # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20021204, X11, make, gcc, zlib, jpeg, png, xpm, xaw3d -PreReq: OpenPKG, openpkg >= 20021204, X11, transfig +BuildPreReq: OpenPKG, openpkg >= 20030516, X11, make, gcc, zlib, jpeg, png, xpm, xaw3d +PreReq: OpenPKG, openpkg >= 20030516, X11, transfig AutoReq: no AutoReqProv: no @@ -107,7 +107,6 @@ AutoReqProv: no # rearrange X11 application defaults ( cd $RPM_BUILD_ROOT%{l_prefix}/etc/X11/app-defaults - chmod u+rw Fig Fig-color %{l_shtool} install -m 644 \ Fig Fig-classic %{l_shtool} install -m 644 \