SPECS: mkcdrec.spec - perl and gcc epoch - ed and coreutils R(post...
glen
glen at pld-linux.org
Sun Nov 27 23:13:25 CET 2005
Author: glen Date: Sun Nov 27 22:13:25 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- perl and gcc epoch
- ed and coreutils R(post)
- add todo about possible race
---- Files affected:
SPECS:
mkcdrec.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/mkcdrec.spec
diff -u SPECS/mkcdrec.spec:1.2 SPECS/mkcdrec.spec:1.3
--- SPECS/mkcdrec.spec:1.2 Sun Nov 27 21:16:17 2005
+++ SPECS/mkcdrec.spec Sun Nov 27 23:13:20 2005
@@ -14,44 +14,46 @@
Requires: MAKEDEV
Provides: perl(mkcdrec-lib.pl)
%if %{_boot_arch}==ia64
-BuildRequires: gcc >= 2.96
+BuildRequires: gcc >= 5:2.96
Requires: ash
-Requires: chkconfig
+Requires: /sbin/chkconfig
Requires: cdrtools
Requires: cdrtools-mkisofs
Requires: fileutils
Requires: mtools
Requires: parted >= 1.6
-Requires: perl-base >= 5.0
+Requires: perl-base >= 1:5.0
Requires: rsync
Requires: tar
Requires: util-linux >= 2.11
%endif
%if %{_boot_arch}==x86_64
-BuildRequires: gcc >= 2.96
+BuildRequires: gcc >= 5:2.96
Requires: ash
Requires: cdrtools
Requires: cdrtools-mkisofs
Requires: fileutils
-Requires: perl-base >= 5.0
+Requires: perl-base >= 1:5.0
Requires: rsync
Requires: syslinux
Requires: tar
Requires: util-linux >= 2.11
%endif
%if %{_boot_arch}==x86
-BuildRequires: gcc >= 2.96
+BuildRequires: gcc >= 5:2.96
BuildRequires: syslinux >= 1.60
Requires: ash
Requires: coreutils
Requires: cdrtools
Requires: cdrtools-mkisofs
-Requires: perl-base >= 5.0
+Requires: perl-base >= 1:5.0
Requires: rsync
Requires: syslinux
Requires: tar
Requires: util-linux >= 2.11
%endif
+Requires(post): coreutils
+Requires(post): ed
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _prefix /var/opt/mkcdrec
@@ -188,6 +190,7 @@
#we add mkcdrec in webmin root's ACL
if [ -f %{_webmin_access_file} ]; then
cp %{_webmin_access_file} %{_webmin_access_file}.beforemkcdrec.sauv
+# FIXME: race possible! (fixed name in world writable dir)
ed %{_webmin_access_file} << EOF > /tmp/mkcdrec.log 2>&1
/root:
s/root:/root: mkcdrec/
@@ -205,6 +208,7 @@
# we remove mkcdrec from webmin root's ACL
if [ -f %{_webmin_access_file} ]; then
+# FIXME: race possible! (fixed name in world writable dir)
ed %{_webmin_access_file} << EOF > /tmp/mkcdrec.log 2>&1
s/mkcdrec//g
w
@@ -260,6 +264,11 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2005/11/27 22:13:20 glen
+- perl and gcc epoch
+- ed and coreutils R(post)
+- add todo about possible race
+
Revision 1.2 2005/11/27 20:16:17 qboosh
- pl fixes, partial cleanup
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/mkcdrec.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list