Skip to content

Commit

Permalink
Include license in RPMs
Browse files Browse the repository at this point in the history
  • Loading branch information
sgallagher committed Mar 17, 2015
1 parent 8bd0468 commit 1233dcd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions python-sscg.spec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

Name: python-%{srcname}
Version: 0.2
Release: 1%{?dist}
Release: 2%{?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
%doc
%license LICENSE
# For noarch packages: sitelib
%{python2_sitelib}/*
%{_bindir}/%{srcname}-%{python2_version}
Expand All @@ -113,6 +113,7 @@ ln -s %{srcname}-%{python2_version} $RPM_BUILD_ROOT/%{_bindir}/%{srcname}

%if 0%{?with_python3}
%files -n python3-%{srcname}
%license LICENSE
%{python3_sitelib}/*
%{_bindir}/%{srcname}-%{python3_version}
%if 0%{?use_python3}
Expand All @@ -121,6 +122,9 @@ ln -s %{srcname}-%{python2_version} $RPM_BUILD_ROOT/%{_bindir}/%{srcname}
%endif #with_python3

%changelog
* Tue Mar 17 2015 Stephen Gallagher <sgallagh@redhat.com> 0.2-2
- Include the license in the build RPMs

* Tue Mar 17 2015 Stephen Gallagher <sgallagh@redhat.com> 0.2-1
- Add support for namedConstraints
- Add support for subjectAltNames
Expand Down

0 comments on commit 1233dcd

Please sign in to comment.