Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8948343
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T12:57:41+00:00 2026-06-15T12:57:41+00:00

demo.spec Name: demo Version: 1 Release: 0 Summary: demo apss Group: Applications/Archiving License: GPLv2+

  • 0

demo.spec

Name:           demo
Version:        1
Release:        0
Summary:        demo apss

Group:          Applications/Archiving

License:        GPLv2+

URL:            http://xyz.co.in

Source0:        %{name}-%{version}.%{release}.tar.gz

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)


Requires:       tar

%description


%prep

%setup -q


%build

%configure

make %{?_smp_mflags}


%install

rm -rf $RPM_BUILD_ROOT

make install DESTDIR=$RPM_BUILD_ROOT


%clean

rm -rf $RPM_BUILD_ROOT


%files

%defattr(-,root,root,-)

%doc

/demo/


%changelog

Output Error:

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IEtaZH

+ umask 022

+ cd /root/rpmbuild/BUILD

+ cd /root/rpmbuild/BUILD

+ rm -rf demo-1

+ /bin/tar -xf -

+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/demo-1.0.tar.gz

+ STATUS=0

+ '[' 0 -ne 0 ']'

+ cd demo-1

/var/tmp/rpm-tmp.IEtaZH: line 34: cd: demo-1: No such file or directory

**error: Bad exit status from /var/tmp/rpm-tmp.IEtaZH (%prep)**

RPM build errors:

`Bad exit status from /var/tmp/rpm-tmp.IEtaZH (%prep)`

Please help me in solving this issue

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T12:57:43+00:00Added an answer on June 15, 2026 at 12:57 pm

    You are probably having an issue due to how your tarball is structure. This section is the relevant area:

    + /usr/bin/gzip -dc /root/rpmbuild/SOURCES/demo-1.0.tar.gz
    
    + STATUS=0
    
    + '[' 0 -ne 0 ']'
    
    + cd demo-1
    

    So the failure is when you try to move into that directory with setup, it expects that directory (demo-1) to exist within your tarball. The spec file you have provided is incomplete and will continue to provide errors even after you resolve this. You should review the TLDP and Fedora documentation before you attempt to build this again.

    There was a similar question asked on Stack Overflow previously.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

demo url: http://linjuming.pydra.org/zc_up/index.php?main_page=index&cPath=1_2 I am using oocss css framework in my site. A strange
http://demo.thethemefoundry.com/traction/#post-183 Which wordpress plugin is this, to have post image on the left side
Please see demo here: http://jsfiddle.net/mA6qm/1/ (expand console) Why aren't events being sent or received
Demo here using buttons http://checkout.google.com/seller/gsc/v2/demo/index.html I want to use, if possible text links in
Demo: http://jsfiddle.net/55ucw/1/ In any browser other than Safari or Chrome, I can tab into
demo for reference: http://greg-j.com/static-content/accordian/ When viewed in any other browser, the toggler works as
Demo: http://www.christianbullock.com/so-demo/ (I know it's a bit rusty). Screenshot: http://i46.tinypic.com/2rh7fgn.png Hover over the blue
Demo link: http://elevation-inc.com/dev/test/ieform/ In IE 6/7/8 - if you enter a term into a
Current demo here: http://www.studioimbrue.com/sites/eliotdudik I have the tabs system working wonderfully. I'm trying to
Demo: http://www.simpsoncrazy.com/characters/poster2 (Using Map Hilight plugin: http://plugins.jquery.com/project/maphilight ) When you click a quadrant of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.