Re: error in building a RPM file

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

 



On Wed, Mar 21, 2012 at 12:45 AM, Ranjan Maitra <maitra@xxxxxxxxxxx> wrote:
> Hi,
>
> I have been playing around building a RPM file. The file in question is
> peksystray available from:
>
> http://downloads.sourceforge.net/project/peksystray/peksystray/0.4.0/peksystray-0.4.0.tar.bz2
>
> I am able to download it and compile it using:
>
> ./configure
> make
> sudo make install-strip
>
> No problems.
>
> Now to create a RPM. I have tried using rpmbuild on the attached spec
> file (rpmlint -vi on it gives no errors and no warnings) in the
> SPECS sub-directory within my rpmbuild directory using:
>
> rpmbuild -ba peksystray.spec
>
> but I get errors. Can someone please tell me what I am doing wrong?

I did a quick spec review but I didn't download the source. I've made
some tweaks to your spec and added comments. Also note that while
rpmdev-newspec and even vi will create default spec files that contain
unnecessary sections and tags as long as you're not building for
Fedora < 14 or EL < 6, such as:

BuildRoot:
rm -rf $RPM_BUILD_ROOT in %install
%clean entirely
%defattr in %files sections.

http://dl.dropbox.com/u/34775202/peksystray.spec

Richard
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux