[python-blockdiag] added devel packages needed by other *diag packages

Dridi Boukelmoune dridi at fedoraproject.org
Sun Feb 16 15:20:28 UTC 2014


commit 61ce5836b6f5e6b72f09c518fd84230fab14fbc0
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Sun Feb 16 16:19:20 2014 +0100

    added devel packages needed by other *diag packages

 python-blockdiag.spec |   31 ++++++++++++++++++++++++++++---
 1 files changed, 28 insertions(+), 3 deletions(-)
---
diff --git a/python-blockdiag.spec b/python-blockdiag.spec
index bf8a640..4fa1f2f 100644
--- a/python-blockdiag.spec
+++ b/python-blockdiag.spec
@@ -2,7 +2,7 @@
 
 Name:           python-%{srcname}
 Version:        1.3.2
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Generate block-diagram images from text
 
 License:        ASL 2.0
@@ -54,6 +54,22 @@ Requires:       python3-webcolors
 This package installs the %{srcname} module for Python 3.
 
 
+%package -n python-%{srcname}-devel
+Summary:        Development files for python-%{srcname}
+
+
+%description -n python-%{srcname}-devel
+Development files for python-%{srcname}.
+
+
+%package -n python3-%{srcname}-devel
+Summary:        Development files for python3-%{srcname}
+
+
+%description -n python3-%{srcname}-devel
+Development files for python3-%{srcname}.
+
+
 %prep
 %setup -q -n %{srcname}-%{version}
 
@@ -96,7 +112,10 @@ popd
 %{_bindir}/%{srcname}
 %{_mandir}/man1/%{srcname}.1*
 %{python2_sitelib}/%{srcname}*
-%exclude %{python2_sitelib}/%{srcname}/tests
+
+
+%files -n python-%{srcname}-devel
+%{python2_sitelib}/%{srcname}/tests
 
 
 %files -n python3-%{srcname}
@@ -105,10 +124,16 @@ popd
 %{_mandir}/man1/%{srcname}-%{python3_version}.1*
 %{python3_sitelib}/__pycache__/*
 %{python3_sitelib}/%{srcname}*
-%exclude %{python3_sitelib}/%{srcname}/tests
+
+
+%files -n python3-%{srcname}-devel
+%{python3_sitelib}/%{srcname}/tests
 
 
 %changelog
+* Sun Feb 16 2014 Dridi Boukelmoune <dridi.boukelmoune at gmail.com> 1.3.2-3
+- Added devel packages needed by other *diag packages
+
 * Tue Dec 31 2013 Dridi Boukelmoune <dridi.boukelmoune at gmail.com> 1.3.2-2
 - Fixed python => python2 where relevant
 - New slightly different summary


More information about the scm-commits mailing list