From cf6f778a1c3bd38cc3b3e2b6c54b2dea1a310726 Mon Sep 17 00:00:00 2001 From: Sergio Pascual Date: Mar 02 2015 11:06:42 +0000 Subject: New upstream version (1.0) - Use license macro --- diff --git a/APLpy.spec b/APLpy.spec index c58aca6..375ab97 100644 --- a/APLpy.spec +++ b/APLpy.spec @@ -1,8 +1,8 @@ %global with_python3 1 Name: APLpy -Version: 0.9.14 -Release: 2%{?dist} +Version: 1.0 +Release: 1%{?dist} Summary: The Astronomical Plotting Library in Python Group: Development/Languages @@ -15,7 +15,7 @@ BuildArch: noarch BuildRequires: python2-devel numpy python-matplotlib python-astropy BuildRequires: python-matplotlib-tk pytest python-decorator # For checks -BuildRequires: python-nose +BuildRequires: python-nose python-pillow Requires: numpy python-matplotlib python-astropy python-decorator Requires: python-nose @@ -49,7 +49,7 @@ Summary: The Astronomical Plotting Library in Python BuildRequires: python3-devel python3-numpy python3-matplotlib python3-astropy BuildRequires: python3-matplotlib-tk python3-pytest python3-decorator # For checks -BuildRequires: python3-nose +BuildRequires: python3-nose python3-pillow Requires: python3-numpy python3-matplotlib python3-astropy python3-decorator Requires: python3-nose @@ -121,23 +121,29 @@ popd # https://github.com/aplpy/aplpy/issues/229 %if 0%{?with_python3} pushd %{buildroot}/%{python3_sitelib} -#py.test-%{python3_version} aplpy +py.test-%{python3_version} aplpy popd %endif # 0%{?with_python3} %files -%doc CHANGES.rst LICENSE.rst README.rst +%doc CHANGES.rst README.rst +%license LICENSE.rst %{python2_sitelib}/%{name}-%{version}-py%{python2_version}.egg-info %{python2_sitelib}/aplpy/ %if 0%{?with_python3} %files -n python3-APLpy -%doc CHANGES.rst LICENSE.rst README.rst +%doc CHANGES.rst README.rst +%license LICENSE.rst %{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info %{python3_sitelib}/aplpy/ %endif # 0%{?with_python3} %changelog +* Mon Mar 02 2015 Sergio Pascual - 1.0-1 +- New upstream version (1.0) +- Use license macro + * Thu Dec 11 2014 Sergio Pascual - 0.9.14-2 - Disable python3 tests