Description: The SciMath project includes packages to support scientific and mathematical calculations, beyond the capabilities offered by SciPy. * enthought.interpolate * enthought.mathematics * enthought.units Links: http://dl.dropbox.com/u/1338197/1/python-SciMath-3.0.5-1.fc13.src.rpm http://dl.dropbox.com/u/1338197/1/python-SciMath.spec
Why do you do this: 49 # non-executable-script 50 pushd %{buildroot}/%{python_sitearch}/enthought/units 51 chmod +x temperature.py area.py power.py substance.py unit_parser.py energy. py \ 52 force.py unit.py pressure.py SI.py 53 popd Because of shebangs and rpmlint warnings? $ rpmlint -I non-executable-script non-executable-script: This text file contains a shebang or is located in a path dedicated for executables, but lacks the executable bits and cannot thus be executed. If the file is meant to be an executable script, add the executable bits, otherwise remove the shebang or move the file elsewhere -> Please remove the shebang instead...
(In reply to comment #1) > Why do you do this: > 49 # non-executable-script > 50 pushd %{buildroot}/%{python_sitearch}/enthought/units > 51 chmod +x temperature.py area.py power.py substance.py unit_parser.py > energy. py \ > 52 force.py unit.py pressure.py SI.py > 53 popd > > Because of shebangs and rpmlint warnings? > > $ rpmlint -I non-executable-script > non-executable-script: > This text file contains a shebang or is located in a path dedicated for > executables, but lacks the executable bits and cannot thus be executed. If > the file is meant to be an executable script, add the executable bits, > otherwise remove the shebang or move the file elsewhere > > -> Please remove the shebang instead... Thanks a lot, I remove shebang from those files instead. SRPM: http://dl.dropbox.com/u/1338197/1/python-SciMath-3.0.5-2.fc13.src.rpm SPEC: http://dl.dropbox.com/u/1338197/1/python-SciMath.spec
I think something must have gone wrong, because with the -2 srpm above, I still get loads of non-executable-script complaints. That might have something to do with: python-SciMath.src:44: W: rpm-buildroot-usage %prep for file in %{buildroot}/%{python_sitearch}/enthought/units/*.py; do You can't access %{buildroot} in %prep; it doesn't exist yet (and gets cleaned at the start of %install anyway, so anything you could do there would be erased). I also get: python-SciMath.x86_64: W: private-shared-object-provides /usr/lib64/python2.7/site-packages/enthought/interpolate/_interpolate.so _interpolate.so()(64bit) which indicates that you need to filter out that erroneous dependency information. In addition, you need to explain which parts of the package are under which license. http://fedoraproject.org/wiki/Packaging:LicensingGuidelines#Multiple_Licensing_Scenarios
any progress here?