duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] Re: Need RPM Expert


From: Kenneth Loafman
Subject: Re: [Duplicity-talk] Re: Need RPM Expert
Date: Sat, 27 Dec 2008 14:14:49 -0600
User-agent: Thunderbird 2.0.0.18 (X11/20081125)

Marcin,

Thanks for the help!  That fixed it.

I still find RPM about as clear as mud.  One of these days I'll warp my
mind around it and all the exceptions, but for now, it works and if I'm
lucky it'll be years before I have to make changes again.

...Ken

Marcin Zajaczkowski wrote:
> On 2008-12-27 18:59, Kenneth Loafman wrote:
>> In order to support translation on duplicity, I've installed
>> distutils-extra and intltool in my FC 6 VM so I can build the
>> distribution RPM (I hate RPM!).  Now I'm getting errors I don't
>> understand.  The attached file has all the details, however, the
>> interesting parts look like:
>>
>> address@hidden duplicity-src]$ dist/makerpm 0.5.04
>> ...<snip>...
>> Checking for unpackaged file(s): /usr/lib/rpm/check-files
>> /var/tmp/duplicity-0.5.04-0.fdr.6-root-ken
>> D:      execv(/usr/lib/rpm/check-files) pid 12150
>> D:      waitpid(12150) rc 12150 status 0
>> error: Installed (but unpackaged) file(s) found:
>>    /usr/share/locale/io/LC_MESSAGES/duplicity.mo
>>
>> RPM build errors:
>>     Installed (but unpackaged) file(s) found:
>>    /usr/share/locale/io/LC_MESSAGES/duplicity.mo
> 
> .mo files (probably in that version you have only that one .mo file)
> weren't marked as files which should be packaged, but an installer (in
> make install) copied it to the destination folder anyway.
> 
> I've never make a package for localized Python application, but probably
> it's similar to making a package for C/C++ localized application. If you
> have already .mo files (it seems you have) then standard Fedora approach
> with %find_lang macro should be enough:
> https://fedoraproject.org/wiki/Packaging/Guidelines#Handling_Locale_Files
> 
> In case of further problems please drop me a SPEC + current tar.gz,
> maybe I could do something more.
> 
> 
> Regards
> Marcin
> 
> 
>> D: May free Score board((nil))
>> Traceback (most recent call last):
>>   File "dist/makerpm", line 23, in ?
>>     assert not os.system("rpmbuild -ba -vv --target i386 " + specfile)
>> AssertionError
>>
>> Any idea what this means?
>>
>> ...Ken
> 
> 
> 
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
> 


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]