Re: [CVS] OpenPKG: openpkg-src/docbook/ docbook.spec openpkg-web/ news.txt

2003-06-28 Thread Ralf S. Engelschall
On Sat, Jun 14, 2003, Michael van Elst wrote:

 fix paths for %post/%postun
 [...]
   -$RPM_INSTALL_PREFIX/bin/sgmlcatalog \
   +%{l_prefix}/bin/sgmlcatalog \
-p ISO 8879:1986 \
-s ISO 8879:1986//ENTITIES \
-i iso8879-sgml \
   @@ -258,7 +258,7 @@

%preun
if [ $1 -eq 0 ]; then
   -$RPM_INSTALL_PREFIX/bin/sgmlcatalog \
   +%{l_prefix}/bin/sgmlcatalog \
 [...]

Shouldn't $RPM_INSTALL_PREFIX have %{l_prefix} as its value? I cannot
see where this change fixes anything. It should be functionally
equivalent, shouldn't it?
   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
The OpenPKG Projectwww.openpkg.org
Developer Communication List   [EMAIL PROTECTED]


Re: [CVS] OpenPKG: openpkg-src/docbook/ docbook.spec openpkg-web/ news.txt

2003-06-06 Thread Ralf S. Engelschall
On Thu, Jun 05, 2003, Michael van Elst wrote:

 [...]
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
   -'%not %dir %{l_prefix}/share/sgml'
   +'%not %dir %attr(0644,-,-) %{l_prefix}/share/sgml'
 [...]

What does this achieve? The %not just ignore the directory, so
why do you set attributes for it? And why 0644, its a directory!?

   Ralf S. Engelschall
   [EMAIL PROTECTED]
   www.engelschall.com

__
The OpenPKG Projectwww.openpkg.org
Developer Communication List   [EMAIL PROTECTED]


Re: [CVS] OpenPKG: openpkg-src/docbook/ docbook.spec openpkg-web/ news.txt

2003-06-06 Thread Michael van Elst
On Thu, Jun 05, 2003, Ralf S. Engelschall wrote:

 On Thu, Jun 05, 2003, Michael van Elst wrote:
 
  [...]
 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
 %{l_files_std} \
-'%not %dir %{l_prefix}/share/sgml'
+'%not %dir %attr(0644,-,-) %{l_prefix}/share/sgml'
  [...]
 
 What does this achieve? The %not just ignore the directory, so
 why do you set attributes for it? And why 0644, its a directory!?

It ought to set the permissions of all files (where many are mode
664 or 640), but apparently it is non-sense :)


-- 
,eM=.a-. Michael van Elst
   dWWMWM -  :GM==;[EMAIL PROTECTED]
  :WWMWMw=--.  W='  cable  wireless
   9WWMm==-.
-Wmw-  CABLE  WIRELESS
__
The OpenPKG Projectwww.openpkg.org
Developer Communication List   [EMAIL PROTECTED]