Skip to content

Building RPM fails: name takes single token only #75

@minorai

Description

@minorai

RPM building fails on Fedora 23, because the name value contains spaces.

building RPMs
error: line 7: Tag takes single token only: Name: f.lux indicator applet
error: query of specfile build/bdist.linux-x86_64/rpm/SPECS/f.lux indicator applet.spec failed, can't parse
error: Failed to execute: "rpm -q --qf '%{name}-%{version}-%{release}.src.rpm %{arch}/%{name}-%{version}-%{release}.%{arch}.rpm\\n' --specfile 'build/bdist.linux-x86_64/rpm/SPECS/f.lux indicator applet.spec'"

According to the distutils documentation the spaces should probably be avoided.

the distribution name is used to generate filenames, so you should stick to letters, digits, underscores, and hyphens.

It should probably be changed to f_lux/flux, flux-applet or similar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions