Hello, I am trying to create a rpm file from a tgz package. Could you help me? I have been here http://fedoraproject.org/wiki/How_to_create_a_GNU_Hello_RPM_package I run rpmbuild -ba textext.spec Here is my file: Name: textext Version: 0.4 Release: 1%{?dist} Summary: The textext for inkscape License: GPLv3+ URL: https://pav.iki.fi/software/textext/ Source0: https://pav.iki.fi/_downloads/textext-0.4.tar.gz #BuildRequires: #Requires: %description %prep %autosetup %build %configure %make_build %install rm -rf $RPM_BUILD_ROOT %make_install %files %license add-license-file-here %doc add-docs-here %changelog * Fri Feb 9 2018 Patrick Dupre <pdupre@xxxxxxx> - +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ But I get an error: rpmbuild -ba textext.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0cm1Uq + umask 022 + cd /home/pdupre/rpmbuild/BUILD + cd /home/pdupre/rpmbuild/BUILD + rm -rf textext-0.4 + /usr/bin/gzip -dc /home/pdupre/rpmbuild/SOURCES/textext-0.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd textext-0.4 /var/tmp/rpm-tmp.0cm1Uq: line 38: cd: textext-0.4: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.0cm1Uq (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.0cm1Uq (%prep) =========================================================================== 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