diff --git a/python-sscg.spec b/python-sscg.spec index 74cd985..80936a0 100644 --- a/python-sscg.spec +++ b/python-sscg.spec @@ -8,8 +8,8 @@ %global srcname sscg Name: python-%{srcname} -Version: 0.2 -Release: 2%{?dist} +Version: 0.2.1 +Release: 1%{?dist} Summary: Self-signed certificate generator License: BSD @@ -103,7 +103,7 @@ ln -s %{srcname}-%{python2_version} $RPM_BUILD_ROOT/%{_bindir}/%{srcname} %endif #use_python3 %files -%license LICENSE +%license python2/src/sscg/LICENSE # For noarch packages: sitelib %{python2_sitelib}/* %{_bindir}/%{srcname}-%{python2_version} @@ -113,7 +113,7 @@ ln -s %{srcname}-%{python2_version} $RPM_BUILD_ROOT/%{_bindir}/%{srcname} %if 0%{?with_python3} %files -n python3-%{srcname} -%license LICENSE +%license python3/src/sscg/LICENSE %{python3_sitelib}/* %{_bindir}/%{srcname}-%{python3_version} %if 0%{?use_python3} @@ -122,6 +122,9 @@ ln -s %{srcname}-%{python2_version} $RPM_BUILD_ROOT/%{_bindir}/%{srcname} %endif #with_python3 %changelog +* Tue Mar 17 2015 Stephen Gallagher 0.2.1-1 +- Include the LICENSE file in the tarball + * Tue Mar 17 2015 Stephen Gallagher 0.2-2 - Include the license in the build RPMs diff --git a/setup.py b/setup.py index ba195b1..d697873 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name="sscg", - version="0.2", + version="0.2.1", use_2to3=True, entry_points="""\ @@ -29,6 +29,8 @@ applications can trust this certificate without skipping validation. """, license="BSD", + package_data={"": ["LICENSE"]}, + keywords="certificates openssl x509", url="https://github.com/sgallagher/sscg", # project home page, if any diff --git a/LICENSE b/src/sscg/LICENSE similarity index 100% rename from LICENSE rename to src/sscg/LICENSE