Re: rpmbuild

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

 



I just recently build a spec file for ndppd (NDP Proxy Daemon) and found out
you can't comment out by using a single # in a spec file if it is a % command.
It has to be like this:
#%%configure

ndppd: https://github.com/DanielAdolfsson/ndppd

Do not build rpm's as root.  Set up a build tree using a non-root uid.  My notes::
as root:
yum/dnf install @development-tools
yum/dnf install fedora-packager

add bill to mock group in /etc/group

as bill:
rpmdev-setuptree
rpmdev-newspec ndp-proxy

I used 'rpmdev-newspec' because ndppd doesn't have a .spec file.

Bill


On 7/18/2017 12:07 PM, Patrick Dupre wrote:
Hello,

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
patch -p0 gnuplot-5.0.6a-tabulate.patch (manually)
would be OK, but it fails from the .spec file

Thank for your help.

===========================================================================
 Patrick DUPRÉ                                 | | email: pdupre@xxxxxxx
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale           | |
 Tel.  (33)-(0)3 28 23 76 12                   | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                 | | 59140 Dunkerque, France
===========================================================================
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx

_______________________________________________
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