Re: RPM packaging workshop example

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

 



On 04/07/2010 01:50 PM, Rahul Sundaram wrote:
> On 03/29/2010 03:55 AM, Michal Schmidt wrote:
>> On Mon, 29 Mar 2010 03:43:23 +0530 Rahul Sundaram wrote:
>>
>>> For the purpose of doing a RPM packaging workshop, I need a simple
>>> clear hello world type example using autotools. Can anyone point me to
>>> something suitable for the purpose?
>>>
>> You mean GNU hello? :-)
>> http://www.gnu.org/software/hello/
>>
>
> A tutorial is available at
>
> https://fedoraproject.org/wiki/A_Short_RPM_Tutorial
>
> Thanks to Przemek Klosowski for writing it.

There is a small bug in the example:

Instead of

%find_lang %{name}
rm -f $RPM_BUILD_ROOT/usr/share/info/dir

this should be

%find_lang %{name}
rm -f $RPM_BUILD_ROOT%{_infodir}/dir


Background: The example uses %configure
i.e. it passes --infodir=%{_infodir} to configure,
i.e. it's %{_infodir} where "dir" is being installed,
not "/usr/share/info"

Ralf
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux