Re: How do Packaging

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

On Sun, 22 Apr 2012 18:36:22 +0530, SP (Srineth) wrote:

> Hi,
> I think, dupral.rpm package is same as the limesurvey package. Therefore
> while searching through internet, I could find duprasl rpm spec file
> I could
> get some tags and section using this file. But when limesurvey is built,
> show an error(shown in below ) in prep section, Even I did not give
> anything to that. Can anyone help me to solve that
> /var/tmp/rpm-tmp.221K8K: line 40: cd: limesurvey-12.04: No such file or
> directory
> error: Bad exit status from /var/tmp/rpm-tmp.221K8K (%prep)

This means you need to adjust the %setup command's option(s) in the %prep
section to match with the structure of the extracted limesurvey package.
The default is to enter directory %{name}-%{version}. Get familiar with
the limesurvey source tarball contents. Pay attention to what name its
top directory has. If it is not named limesurvey-12.04, you would need
a %setup command with option -n, such as

  %setup -n SomeOtherTopDirName

For more detailed help, full rpmbuild output is missing.

Fedora release 17 (Beefy Miracle) - Linux 3.3.2-1.fc17.x86_64
loadavg: 0.00 0.01 0.05
packaging mailing list

[Home]     [Fedora Legacy]     [Fedora Desktop]     [Red Hat 9 Bible]     [Fedora Bible]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux