[python-blockdiag] added missing runtime dependencies
Dridi Boukelmoune
dridi at fedoraproject.org
Mon Mar 3 19:34:36 UTC 2014
commit 623e75813fe8c607369fea886953ecff192f9af1
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Mon Mar 3 20:33:35 2014 +0100
added missing runtime dependencies
.gitignore | 1 +
python-blockdiag.spec | 21 +++++++++++++++++----
sources | 2 +-
3 files changed, 19 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0b71e3e..647d5f6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/blockdiag-1.3.2.tar.gz
+/1.3.2.tar.gz
diff --git a/python-blockdiag.spec b/python-blockdiag.spec
index 5d8b791..af7b099 100644
--- a/python-blockdiag.spec
+++ b/python-blockdiag.spec
@@ -1,13 +1,18 @@
-%global srcname blockdiag
+%global owner tk0miya
+%global srcname blockdiag
+%global tag %{version}
+%global commit eaeb1c38be3dfc0ae6e996b38437e8bdf9799ea2
+%global shortcommit %(c=%{commit}; echo ${c:0:12})
+
Name: python-%{srcname}
Version: 1.3.2
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Generate block-diagram images from text
License: ASL 2.0
URL: http://blockdiag.com/
-Source0: https://pypi.python.org/packages/source/b/%{srcname}/%{srcname}-%{version}.tar.gz
+Source0: https://bitbucket.org/%{owner}/%{srcname}/get/%{tag}.tar.gz
Source1: description-%{srcname}.txt
BuildArch: noarch
@@ -34,6 +39,8 @@ BuildRequires: ipa-pgothic-fonts
Requires: ipa-pgothic-fonts
Requires: python-funcparserlib
+Requires: python-pillow
+Requires: python-setuptools
Requires: python-webcolors
@@ -45,6 +52,8 @@ Requires: python-webcolors
Summary: %{summary}
Requires: ipa-pgothic-fonts
Requires: python3-funcparserlib
+Requires: python3-pillow
+Requires: python3-setuptools
Requires: python3-webcolors
@@ -73,7 +82,7 @@ Development files for python3-%{srcname}.
%prep
-%setup -q -n %{srcname}-%{version}
+%setup -qn %{owner}-%{srcname}-%{shortcommit}
rm -rf %{py3dir}
cp -a . %{py3dir}
@@ -133,6 +142,10 @@ popd
%changelog
+* Mon Mar 03 2014 Dridi Boukelmoune <dridi.boukelmoune at gmail.com> 1.3.2-4
+- Switched to the source tarball from bitbucket
+- Added missing dependencies
+
* Sun Feb 16 2014 Dridi Boukelmoune <dridi.boukelmoune at gmail.com> 1.3.2-3
- Added devel packages needed by other *diag packages
diff --git a/sources b/sources
index 392d2b2..d3d573c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-602a8750f312eeee84d6d138055dfae7 blockdiag-1.3.2.tar.gz
+413dc33235225f0a3ddf6d2873c5caed 1.3.2.tar.gz
More information about the scm-commits
mailing list