At last

At last after discussion with straw developers in #straw at , i am able to fix the problem .

I added a line so that which take care of installation dir. does not points to buildroot as it was doing before.

Found ‘/ c27950’ in installed files; aborting
error: Bad exit status from /var/tmp/rpm-tmp.19618 (%install)

This is because was pointing to
libdir = os.path.normpath('/var/tmp/straw-0.27-4-c27950/usr/lib/python2.5/site-packages/straw')
The line i added is

sed -i -e s@${RPM_BUILD_ROOT}@@ ${RPM_BUILD_ROOT}%{python_sitelib}/%{name}/

Now the points to
libdir = os.path.normpath('/usr/lib/python2.5/site-packages/straw')

Instead of previous var/tmp/straw-0.27-4-........................... as mentioned above.

Spec file along with SRPM and RPM are available here


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s