[th] rpm.spec - packaging problem

2007-11-09 Thread Patryk Zawadzki
Last year rpm switched the /etc/rpm/sysinfo syntax. Now it expects /etc/rpm/sysinfo to be a directory with following files inside: Providename, Requirename, Conflictname, Obsoletename, Dirnames, Filelinktos (Taken from rpm/lib/rpmds.c) In PLD we still provide it as a

Re: [th] rpm.spec - packaging problem

2007-11-09 Thread Arkadiusz Miskiewicz
On Friday 09 of November 2007, Patryk Zawadzki wrote: Last year rpm switched the /etc/rpm/sysinfo syntax. Now it expects /etc/rpm/sysinfo to be a directory with following files inside: Not expects. It simply supports both schemas. Therefore I propose fixing the packaging to adapt the new

Re: [th] rpm.spec - packaging problem

2007-11-09 Thread Patryk Zawadzki
2007/11/9, Arkadiusz Miskiewicz [EMAIL PROTECTED]: On Friday 09 of November 2007, Patryk Zawadzki wrote: Last year rpm switched the /etc/rpm/sysinfo syntax. Now it expects /etc/rpm/sysinfo to be a directory with following files inside: Not expects. It simply supports both schemas.

Re: [th] rpm.spec - packaging problem

2007-11-09 Thread Patryk Zawadzki
2007/11/9, Jeff Johnson [EMAIL PROTECTED]: On Nov 9, 2007, at 9:13 AM, Arkadiusz Miskiewicz wrote: On Friday 09 of November 2007, Patryk Zawadzki wrote: Last year rpm switched the /etc/rpm/sysinfo syntax. Now it expects /etc/rpm/sysinfo to be a directory with following files inside: Not

Re: [th] rpm.spec - packaging problem

2007-11-09 Thread Jakub Bogusz
On Fri, Nov 09, 2007 at 03:06:23PM +0100, Patryk Zawadzki wrote: Last year rpm switched the /etc/rpm/sysinfo syntax. Now it expects /etc/rpm/sysinfo to be a directory with following files inside: Providename, Requirename, Conflictname, Obsoletename, Dirnames,

Re: [th] rpm.spec - packaging problem

2007-11-09 Thread Patryk Zawadzki
2007/11/9, Jakub Bogusz [EMAIL PROTECTED]: On Fri, Nov 09, 2007 at 03:06:23PM +0100, Patryk Zawadzki wrote: Last year rpm switched the /etc/rpm/sysinfo syntax. Now it expects /etc/rpm/sysinfo to be a directory with following files inside: Providename, Requirename,

Re: [th] rpm.spec - packaging problem

2007-11-09 Thread Patryk Zawadzki
2007/11/9, Patryk Zawadzki [EMAIL PROTECTED]: The default (rpm/lib/rpmds.c ~ 1546) is: #define _ETC_RPM_SYSINFOSYSCONFIGDIR /sysinfo Upon further investigation, this is used as a callback when the macro below returns nothing, so the answer is clear: We can patch either that line or

Re: new spec (lyricue)

2007-11-09 Thread Aria Stewart
On Nov 9, 2007, at 4:39 PM, Caleb Maclennan wrote: Up until now my contributions have been made by proxy through aredridel, but I have been lurking here on the devel list for some time and decided there was no reason I couldn't offer to be involved more directly. I am experienced as a

Re: new spec (lyricue)

2007-11-09 Thread Krystian Tomczyk
Dnia 09-11-2007, Pt o godzinie 16:53 -0700, Aria Stewart pisze: On Nov 9, 2007, at 4:39 PM, Caleb Maclennan wrote: Up until now my contributions have been made by proxy through aredridel, but I have been lurking here on the devel list for some time and decided there was no reason I

Re: new spec (lyricue)

2007-11-09 Thread Andrzej Krzysztofowicz
Caleb Maclennan wrote: Hello all, Hi Caleb, Just few hot comments on your spec: BuildRoot:%{tmpdir}/%{name}-%{version}-root-%(id -u -n) Patch0: %{name}-makefile.patch Patch1: %{name}-desktop.patch We try to keep the BuildRoot entry as the last in this

Re: new spec (lyricue)

2007-11-09 Thread Aria Stewart
On Nov 9, 2007, at 5:49 PM, Andrzej Krzysztofowicz wrote: Caleb Maclennan wrote: Hello all, Hi Caleb, Just few hot comments on your spec: BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) Patch0: %{name}-makefile.patch Patch1: %{name}-desktop.patch

Re: new spec (lyricue)

2007-11-09 Thread Caleb Maclennan
On Fri, Nov 09, 2007 at 06:11:19PM -0700, Aria Stewart wrote: On Nov 9, 2007, at 5:49 PM, Andrzej Krzysztofowicz wrote: We try to keep the BuildRoot entry as the last in this section. Patch# just after Sources. Indeed. The ./adapter script in the SPECS repo does a lot of this. The

Re: new spec (lyricue)

2007-11-09 Thread Caleb Maclennan
Thanks for the pointers Andrzej. I am attaching an updated spec file with your changes. Caleb # $Revision:$, $Date:$ Summary:The GNU Lyric Display System Name: lyricue Version:1.9.6 Release:0.6 License:GPL Group: X11/Applications/Graphics URL:

Re: new spec (lyricue)

2007-11-09 Thread Elan Ruusamäe
On Saturday 10 November 2007 03:21:36 Caleb Maclennan wrote: Thanks for the pointers Andrzej. I am attaching an updated spec file with your changes. Caleb %dir %{_docdir}/lyricue %doc %{_docdir}/lyricue/* first dir should be also %doc but rather using rpmbuildroot paths use relative %doc

Re: new spec (lyricue)

2007-11-09 Thread Caleb Maclennan
On Sat, Nov 10, 2007 at 04:16:36AM +0200, Elan Ruusamäe wrote: but rather using rpmbuildroot paths use relative %doc from builddir, then documents get compressed too: %doc docs/* Ok, this didn't quite make sense to me but I think I figured out what you were after. See if this fits the bill.