Re: Testing package version is spec file

2024-05-09 Thread Richard W.M. Jones
On Wed, May 08, 2024 at 10:38:05AM -0700, Brad Smith wrote: > I help maintain a package where upstream changed the process to > generate installed documentation. In version 1.30 and newer, the spec > file needs to use process A; in versions older than 1.30 (e.g. 1.29.x, > etc) the spec file needs t

Re: Testing package version is spec file

2024-05-08 Thread Miro Hrončok
On 08. 05. 24 19:38, Brad Smith wrote: I help maintain a package where upstream changed the process to generate installed documentation. In version 1.30 and newer, the spec file needs to use process A; in versions older than 1.30 (e.g. 1.29.x, etc) the spec file needs to use process B. I am strug

Re: Testing package version is spec file

2024-05-08 Thread Brad Smith
Thanks Adam. Yes there is a new shell script that does the new document generation. I experimented with using the %{exists: ...} macro but could not get it to work. If you have an example at hand I would greatly appreciate it. Best regards On Wed, May 8, 2024 at 10:46 AM Adam Williamson wrote:

Re: Testing package version is spec file

2024-05-08 Thread Brad Smith
Thanks Tom. A good question. Basically upstream supports 3 or 4 versions concurrently so I need to maintain a spec file that works across this version boundary since the older versions will be available in Fedora for another year. Also there are forthcoming changes that make it desirable to have si

Re: Testing package version is spec file

2024-05-08 Thread Tom Hughes via devel
On 08/05/2024 18:38, Brad Smith wrote: I help maintain a package where upstream changed the process to generate installed documentation. In version 1.30 and newer, the spec file needs to use process A; in versions older than 1.30 (e.g. 1.29.x, etc) the spec file needs to use process B. I am stru

Re: Testing package version is spec file

2024-05-08 Thread Adam Williamson
On Wed, 2024-05-08 at 10:38 -0700, Brad Smith wrote: > I help maintain a package where upstream changed the process to > generate installed documentation. In version 1.30 and newer, the spec > file needs to use process A; in versions older than 1.30 (e.g. 1.29.x, > etc) the spec file needs to use p

Testing package version is spec file

2024-05-08 Thread Brad Smith
I help maintain a package where upstream changed the process to generate installed documentation. In version 1.30 and newer, the spec file needs to use process A; in versions older than 1.30 (e.g. 1.29.x, etc) the spec file needs to use process B. I am struggling to find a workable solution to test