Hi,
The warnings seem benign. They are related to the spec file that has references for an emacs-related package that is commented out.

The error about "directory not found" seems relevant. Do the "prepare" and "build" steps of rpmbuild work okay?

rpmbuild -bp gnuplot.spec
rpmbuild -bc gnuplot.spec

Regards,
Ronaldo


On Sun, 14 Oct 2018 at 08:05, Patrick Dupre <pdupre@gmx.com> wrote:
Hello,

I tried to generate a rpm file.
I get the following error:
rpmbuild -bb gnuplot.spec

RPM build errors:
    Macro expanded in comment on line 110: %{name}

    Macro expanded in comment on line 113: %{name} = %{version}-%{release}

    Macro expanded in comment on line 114: %{_emacs_version}

    Macro expanded in comment on line 117: %{version}-%{release}

    Macro expanded in comment on line 119: %{name}

    Macro expanded in comment on line 123: %{name}-el

    Macro expanded in comment on line 126: %{name} = %{version}-%{release}

    Macro expanded in comment on line 129: %{name}-el

    Macro expanded in comment on line 332: %{name}

    Macro expanded in comment on line 334: %{_emacs_sitelispdir}/%{name}

    Macro expanded in comment on line 335: %{_emacs_sitelispdir}/*.elc

    Macro expanded in comment on line 336: %{_emacs_sitelispdir}/%{name}/*.elc

    Macro expanded in comment on line 337: %{_emacs_sitestartdir}/*.el

    Macro expanded in comment on line 339: %{name}-el

    Macro expanded in comment on line 341: %{_emacs_sitelispdir}/%{name}/*.el

    Macro expanded in comment on line 342: %{_emacs_sitelispdir}/*.el

    Directory not found: /home/pdupre/rpmbuild/BUILDROOT/gnuplot-5.2.5-2.fc28.x86_64/usr/share/texmf/tex/latex/gnuplot

Can somebody help me?

I am attaching the spec file that I derived from a previous version of gnuplot.

Thank.

===========================================================================
 Patrick DUPRÉ                                 | | email: pdupre@gmx.com
 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@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org