Skip to content

Commit

Permalink
Really fix the LICENSE file location
Browse files Browse the repository at this point in the history
  • Loading branch information
sgallagher committed Mar 17, 2015
1 parent 1233dcd commit 35537ad
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
11 changes: 7 additions & 4 deletions python-sscg.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}
Expand All @@ -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}
Expand All @@ -122,6 +122,9 @@ ln -s %{srcname}-%{python2_version} $RPM_BUILD_ROOT/%{_bindir}/%{srcname}
%endif #with_python3

%changelog
* Tue Mar 17 2015 Stephen Gallagher <[email protected]> 0.2.1-1
- Include the LICENSE file in the tarball

* Tue Mar 17 2015 Stephen Gallagher <[email protected]> 0.2-2
- Include the license in the build RPMs

Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name="sscg",
version="0.2",
version="0.2.1",
use_2to3=True,

entry_points="""\
Expand All @@ -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

Expand Down
File renamed without changes.

0 comments on commit 35537ad

Please sign in to comment.