Re: [Rpm-maint] [PATCH] Warn and create empty debugsource package if there are no sources.

2017-08-10 Thread Panu Matilainen
On 07/28/2017 04:29 PM, Mark Wielaard wrote: Signed-off-by: Mark Wielaard --- scripts/find-debuginfo.sh | 13 + tests/rpmbuild.at | 33 + 2 files changed, 46 insertions(+) ...and so was this, applied now, thanks. AFAICS

Re: [Rpm-maint] [PATCH] Warn and create empty debugsource package if there are no sources.

2017-08-07 Thread Richard W.M. Jones
On Wed, Aug 02, 2017 at 01:09:15PM +0200, Mark Wielaard wrote: > Do we want to be nicer to packages that don't include sources like this? > Or should we just declare that this is probably a packaging issue (badly > produced debuginfo) and improve the error message? I just wanted to say that in

Re: [Rpm-maint] [PATCH] Warn and create empty debugsource package if there are no sources.

2017-08-03 Thread Mark Wielaard
On Wed, 2017-08-02 at 17:43 +0200, Igor Gnatenko wrote: > On Wed, 2017-08-02 at 13:09 +0200, Mark Wielaard wrote: > > Do we want to be nicer to packages that don't include sources like > > this? > > Or should we just declare that this is probably a packaging issue > > (badly produced debuginfo)

Re: [Rpm-maint] [PATCH] Warn and create empty debugsource package if there are no sources.

2017-08-02 Thread Igor Gnatenko
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Wed, 2017-08-02 at 13:09 +0200, Mark Wielaard wrote: > Hi, > > On Fri, 2017-07-28 at 15:29 +0200, Mark Wielaard wrote: > > + if [ ! -s "$srcout" ]; then > > +echo >&2 "*** WARNING: No source files found. Creating empty > > debugsource

Re: [Rpm-maint] [PATCH] Warn and create empty debugsource package if there are no sources.

2017-08-02 Thread Mark Wielaard
Hi, On Fri, 2017-07-28 at 15:29 +0200, Mark Wielaard wrote: > + if [ ! -s "$srcout" ]; then > +echo >&2 "*** WARNING: No source files found. Creating empty > debugsource package" > +# Create the empty directory. > +# See also debugedit invocation. Directories must match up. > +

[Rpm-maint] [PATCH] Warn and create empty debugsource package if there are no sources.

2017-07-28 Thread Mark Wielaard
Signed-off-by: Mark Wielaard --- scripts/find-debuginfo.sh | 13 + tests/rpmbuild.at | 33 + 2 files changed, 46 insertions(+) diff --git a/scripts/find-debuginfo.sh b/scripts/find-debuginfo.sh index d8725ad..9b3815a 100755 ---