Remove non free docs from src.rpm and provide script to do so before upload.
Fixes bug #1684335
This commit is contained in:
parent
f30fb1ef29
commit
802925718b
4 changed files with 26 additions and 4 deletions
|
|
@ -4,12 +4,21 @@
|
|||
|
||||
Name: python-%{srcname}
|
||||
Version: 1.2.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Waitress WSGI server
|
||||
|
||||
License: ZPLv2.1
|
||||
URL: https://github.com/Pylons/%{srcname}
|
||||
Source0: %{url}/archive/v%{version}.tar.gz
|
||||
Source0: v%{version}-nodocs.tar.gz
|
||||
# Upstream ships non free docs files.
|
||||
# We do not even want them in our src.rpms
|
||||
# So we remove them before uploading.
|
||||
#
|
||||
# Download the upstream tarball and invoke this script while in the
|
||||
# tarball's directory:
|
||||
# ./generate-tarball.sh 1.0
|
||||
#
|
||||
Source1: generate-tarball.sh
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
|
|
@ -48,7 +57,7 @@ BuildRequires: python3-coverage
|
|||
Python 3 version.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{srcname}-%{version}
|
||||
%autosetup -n %{srcname}-%{version}-nodocs
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
|
|
@ -76,6 +85,10 @@ Python 3 version.
|
|||
%{python3_sitelib}/%{srcname}-*.egg-info/
|
||||
|
||||
%changelog
|
||||
* Sat Jun 29 2019 Kevin Fenzi <kevin@scrye.com> - 1.2.1-2
|
||||
- Remove non free docs from src.rpm and provide script to do so before upload.
|
||||
- Fixes bug #1684335
|
||||
|
||||
* Tue Feb 05 2019 Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> - 1.2.1-1
|
||||
- Update to 1.2.1 (#1667466)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue