Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 875488 Details for
Bug 1019948
Review Request: python-astroML - Python tools for machine learning and data mining in Astronomy
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
improved spec-file
improve-spec.patch (text/plain), 2.03 KB, created by
Björn 'besser82' Esser
on 2014-03-17 12:39:14 UTC
(
hide
)
Description:
improved spec-file
Filename:
MIME Type:
Creator:
Björn 'besser82' Esser
Created:
2014-03-17 12:39:14 UTC
Size:
2.03 KB
patch
obsolete
>Index: srpm-unpacked/python-astroML.spec >=================================================================== >--- srpm-unpacked.orig/python-astroML.spec >+++ srpm-unpacked/python-astroML.spec >@@ -1,11 +1,13 @@ >-Name: python-astroML >+%global pypi_name astroML >+ >+Name: python-%{pypi_name} > Version: 0.2 > Release: 1%{?dist} > Summary: Python tools for machine learning and data mining in Astronomy > > License: BSD > URL: http://www.astroml.org/ >-Source0: https://pypi.python.org/packages/source/a/astroML/astroML-%{version}.tar.gz >+Source0: https://pypi.python.org/packages/source/a/%{pypi_name}/%{pypi_name}-%{version}.tar.gz > > BuildArch: noarch > BuildRequires: numpy >@@ -33,38 +35,36 @@ loaders for several open astronomical da > examples of analyzing and visualizing astronomical datasets. > > >-%package -n python-astroML-doc >-Summary: Examples for the astroML package >-Provides: %{name}-doc = %{version}-%{release} >-BuildArch: noarch >+%package doc >+Summary: Examples for the %{pypi_name} package > >-%description -n python-astroML-doc >-Documentation and examples for astroML. >+%description doc >+Documentation and examples for %{pypi_name}. > > > %prep >-%setup -q -n astroML-%{version} >+%setup -qn %{pypi_name}-%{version} > > > %build >-# Remove CFLAGS=... for noarch packages (unneeded) >-%{__python2} setup.py build >+%{__python2} ./setup.py build > > > %install >-rm -rf $RPM_BUILD_ROOT >-%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT >+%{__python2} ./setup.py install -O1 --skip-build --root %{buildroot} >+ > > %check > xvfb-run -a nosetests >- >+ >+ > %files >-%doc CHANGES.rst LICENSE.rst README.rst >-%{python2_sitelib}/astroML >-%{python2_sitelib}/astroML-%{version}-*.egg-info >+%doc *.rst >+%{python2_sitelib}/%{pypi_name} >+%{python2_sitelib}/%{pypi_name}-%{version}-*.egg-info > >-%files -n python-astroML-doc >-%doc CHANGES.rst LICENSE.rst README.rst book_figures examples paper_figures >+%files doc >+%doc *.rst book_figures examples paper_figures > > > %changelog
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1019948
: 875488