Browse Source

remove obsoleted chmod

master
parent
commit
6a1944ccea
  1. 1
      perl-inline/perl-inline.spec
  2. 8
      pgp2/pgp2.spec
  3. 11
      rcs/rcs.spec
  4. 11
      rie/rie.spec
  5. 7
      sav/sav.spec
  6. 7
      sendmail/sendmail.spec
  7. 7
      smtpfeed/smtpfeed.spec
  8. 9
      ssmtp/ssmtp.spec
  9. 8
      teapop/teapop.spec
  10. 7
      vcg/vcg.spec
  11. 8
      xboard/xboard.spec
  12. 7
      xfig/xfig.spec

1
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++");:' \

8
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

11
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 \

11
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

7
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} \

7
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

7
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

9
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;' \

8
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

7
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;<malloc\.h>;<stdlib.h>;g' \
src/*.[ch] src/preconf/*.[ch]

8
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

7
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 \

Loading…
Cancel
Save