Re: Automatic detection of unused BuildRequires

2024-07-05 Thread Michael Schwendt
On Wed, 3 Jul 2024 18:02:01 +0200, Marián Konček wrote: > To my knowledge there is no such project. Only highly experimental ones have been used many, many years ago. For example, in Fedora land I've caught some unused BuildRequires with a script that checks whether shared libs provided by build

Re: Automatic detection of unused BuildRequires

2024-07-04 Thread Marián Konček
I have only overridden the `open*` family of functions, whereas `exec*` should be as well, I think that is the reason. On 4. 7. 2024 13:56, Miro Hrončok wrote: On 03. 07. 24 18:02, Marián Konček wrote: As many of you know, as packages change, so do their BuildRequires. In the current state, ma

Re: Automatic detection of unused BuildRequires

2024-07-04 Thread Miro Hrončok
On 03. 07. 24 18:02, Marián Konček wrote: As many of you know, as packages change, so do their BuildRequires. In the current state, maintaining them requires some manual work from the maintainer. 1. So I got around the idea of a simple tool that checks file accesses during the build and using

Re: Automatic detection of unused BuildRequires

2024-07-04 Thread Miro Hrončok
On 03. 07. 24 18:02, Marián Konček wrote: As many of you know, as packages change, so do their BuildRequires. In the current state, maintaining them requires some manual work from the maintainer. Thanks! (As a side note, I encourage everybody to use %genearte_buildrequires from upstream metad

Re: Automatic detection of unused BuildRequires

2024-07-04 Thread Richard W.M. Jones
On Wed, Jul 03, 2024 at 06:02:01PM +0200, Marián Konček wrote: > As many of you know, as packages change, so do their BuildRequires. > In the current state, maintaining them requires some manual work > from the maintainer. > > 1. So I got around the idea of a simple tool that checks file > accesse

Re: Automatic detection of unused BuildRequires

2024-07-03 Thread Miroslav Suchý
Dne 03. 07. 24 v 6:02 odp. Marián Konček napsal(a): As many of you know, as packages change, so do their BuildRequires. In the current state, maintaining them requires some manual work from the maintainer. 1. So I got around the idea of a simple tool that checks file accesses during the build a

Re: Automatic detection of unused BuildRequires

2024-07-03 Thread Sérgio Basto
On Wed, 2024-07-03 at 18:02 +0200, Marián Konček wrote: > > As many of you know, as packages change, so do their BuildRequires. > > In > > the current state, maintaining them requires some manual work from > > the > > maintainer. > > > > 1. So I got around the idea of a simple tool that checks f

Automatic detection of unused BuildRequires

2024-07-03 Thread Marián Konček
As many of you know, as packages change, so do their BuildRequires. In the current state, maintaining them requires some manual work from the maintainer. 1. So I got around the idea of a simple tool that checks file accesses during the build and using RPM queries, detects whether some package'