Re: rpmbuild

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

 



Patrick Dupre wrote:
I am trying to patch gnuplot with https://sourceforge.net/p/gnuplot/patches/694/

However, it fails for several reasons, The first one is that the patch does not apply to last version of tabulate.c (maybe to a previous one). Then a fixed directly the tabulate.c file

How can generate the package directly from the SOURCES? with rpmbuild I try to modify the .spc file by removing the #%patch0 -p1 -b .refto #%patch1 -p1 -b .font #%patch3 -p1 -b .plot-sigsegv #%patch4 -p1 -b .isinglethread #%patch5 -p1 -b .checkint #%patch6 -p1 -b .tabulate # This fails

But it does not work. because I guess that it does not compile my new sources but the old ones.

Actually, %patch6 -p1 -b .tabulate would fails

-p1 is used here

patch -p0 gnuplot-5.0.6a-tabulate.patch (manually) would be OK, but it fails from the .spec file

And -p0 is used here.

The argument to -p is the number of leading directories to strip off the paths in the patch. It's fairly important to use the right value.

Whether that's the main issue or not isn't clear, as you didn't include any of the rpmbuild output from the failure.

--
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
So its hurry! Hurry! Step right up, it's a matter of life or death
The sun is going down and the moon is just holding its breath.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[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