Modify

Opened 13 years ago

Closed 13 years ago

#17 closed defect (fixed)

spec file fixes

Reported by: ramonb Owned by: somebody
Priority: major Milestone:
Component: pbs Version: 3.2.0
Keywords: Cc:

Description

there are 2 errors in the spec file;

  • ${_tmppath} should be: %{_tmppath}
  • %setup pbs-python sourcedir should be pbs_python

Attachments (1)

pbs-python.spec (1.5 KB) - added by ramonb 13 years ago.
new spec file

Download all attachments as: .zip

Change History (5)

comment:1 Changed 13 years ago by ramonb

--- pbs-python.spec	2009-03-25 00:13:15.000000000 +0100
+++ pbs-python.spec.new	2009-10-06 14:05:19.000000000 +0200
@@ -1,18 +1,15 @@
 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
-# This spec file has been modified from stock to look more like
-# current spec files used in Fedora Core 10. --chindw@wfu.edu
-
 ### Abstract ###
 
 Name: pbs-python
-Version: 3.0.1
-Release: 2anl1wfu%{?dist}
+Version: 3.2.0
+Release: 1%{?dist}
 License: See LICENSE
 Group: Development/Libraries
 Summary: This package contains the PBS python module.
 URL: https://subtrac.sara.nl/oss/pbs_python
-BuildRoot: ${_tmppath}/%{name}-%{version}-%{release}-root
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 Source: ftp://ftp.sara.nl/pub/outgoing/pbs_python.tar.gz 
 
 ### Dependencies ###
@@ -27,7 +24,7 @@
 This package contains the pbs python module.
 
 %prep
-%setup -q -n pbs-python-%{version}
+%setup -q -n pbs_python-%{version}
 
 %build
 %configure
@@ -46,6 +43,8 @@
 %{python_sitearch}/pbs/*
 
 %changelog
+* Tue Oct 06 2009 Ramon Bastiaans <ramon.bastiaans@sara.nl>
+- Fixed tmppath, %setup sourcedir
 * Tue Mar 24 2009 David Chin <chindw@wfu.edu>
 - Fedora-ize
 * Sun Mar  9 2008 Michael Sternberg <sternberg@anl.gov>

Changed 13 years ago by ramonb

new spec file

comment:2 Changed 13 years ago by ramonb

  • Resolution set to fixed
  • Status changed from new to closed

I will attach/replace the new spec file on the wiki page

comment:3 Changed 13 years ago by ramonb

  • Resolution fixed deleted
  • Status changed from closed to reopened

I can't edit the wiki page, so I can't replace the spec file attachment myself

comment:4 Changed 13 years ago by bas

  • Resolution set to fixed
  • Status changed from reopened to closed

This is fixed in the 4.0.0 release

Add Comment

Modify Ticket

Change Properties
Action
as closed The owner will remain somebody.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.