Skip Menu |

This queue is for tickets about the RPM-Specfile CPAN distribution.

Report information
The Basics
Id: 20559
Status: new
Priority: 0/
Queue: RPM-Specfile

People
Owner: Nobody in particular
Requestors: scop [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.19
Fixed in: (no value)



Subject: find(1) doesn't like order of arguments in emitted specfile
Recent versions of find(1) warn if option arguments to it are not specified before non-option ones: $ find tmp -type d -depth >/dev/null find: warning: you have specified the -depth option after a non-option argument -type, but options are not positional (-depth affects tests specified before it as well as those specified after it). Please specify options before other arguments. The specfile emitted by cpanflute2 is affected, fix attached. stderr goes to /dev/null in it so it has gone unnoticed. It's only a warning from find(1) nowadays, but better to have it fixed anyway.
Subject: cpanflute2.patch
--- cpanflute2~ 2005-05-02 11:42:09.000000000 +0300 +++ cpanflute2 2006-07-19 19:50:21.000000000 +0300 @@ -307,3 +307,3 @@ -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' -find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/*