Create -core subpackage for minimal dependencies
This commit is contained in:
parent
13fea23b66
commit
4547507860
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: python-%{pkgname}
|
Name: python-%{pkgname}
|
||||||
Version: 2.4.1
|
Version: 2.4.1
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: Python QR Code image generator
|
Summary: Python QR Code image generator
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -13,12 +13,20 @@ BuildArch: noarch
|
|||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-imaging
|
BuildRequires: python-imaging
|
||||||
Requires: python-imaging
|
Requires: python-imaging
|
||||||
|
Requires: %{name}-core = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module uses the Python Imaging Library (PIL) to allow for the
|
This module uses the Python Imaging Library (PIL) to allow for the
|
||||||
generation of QR Codes.
|
generation of QR Codes.
|
||||||
|
|
||||||
|
|
||||||
|
%package core
|
||||||
|
Summary: Python QR Code image generator (core library)
|
||||||
|
|
||||||
|
%description core
|
||||||
|
Core Python module for QR code generation. Does not contain image rendering.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{pkgname}-%{version}
|
%setup -q -n %{pkgname}-%{version}
|
||||||
|
|
||||||
@ -45,12 +53,25 @@ done
|
|||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc LICENSE README.rst CHANGES.rst
|
|
||||||
%{python_sitelib}/*
|
|
||||||
%{_bindir}/qrcode
|
%{_bindir}/qrcode
|
||||||
|
%{python_sitelib}/%{pkgname}/image/svg.py*
|
||||||
|
%{python_sitelib}/%{pkgname}/image/pil.py*
|
||||||
|
|
||||||
|
|
||||||
|
%files core
|
||||||
|
%doc LICENSE README.rst CHANGES.rst
|
||||||
|
%dir %{python_sitelib}/%{pkgname}/
|
||||||
|
%dir %{python_sitelib}/%{pkgname}/image
|
||||||
|
%{python_sitelib}/%{pkgname}*.egg-info
|
||||||
|
%{python_sitelib}/%{pkgname}/*.py*
|
||||||
|
%{python_sitelib}/%{pkgname}/image/__init__.py*
|
||||||
|
%{python_sitelib}/%{pkgname}/image/base.py*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 09 2014 Nathaniel McCallum <npmccallum@redhat.com> - 2.4.1-7
|
||||||
|
- Create -core subpackage for minimal dependencies
|
||||||
|
|
||||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-6
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user