[pyke] examples subpackage
Tom Callaway
spot at fedoraproject.org
Mon Jul 18 18:08:28 UTC 2011
commit bf4457f7a1e928463de7f45b7147da1bd7322c80
Author: Tom "spot" Callaway <tcallawa at redhat.com>
Date: Mon Jul 18 14:08:17 2011 -0400
examples subpackage
pyke.spec | 23 ++++++++++++++++-------
1 files changed, 16 insertions(+), 7 deletions(-)
---
diff --git a/pyke.spec b/pyke.spec
index 109cf2b..b15c472 100644
--- a/pyke.spec
+++ b/pyke.spec
@@ -5,7 +5,7 @@
Name: pyke
Summary: Knowledge-based inference engine
Version: 1.1.1
-Release: 4%{?dist}
+Release: 5%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://pyke.sourceforge.net/
@@ -13,7 +13,6 @@ Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.zip
%if 0%{?with_python3}
Source1: http://download.sourceforge.net/%{name}/%{name}3-%{version}.zip
%endif # if with_python3
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel, python-setuptools
Requires: python-ply
@@ -45,6 +44,15 @@ python that can:
functions into complete call graphs.
%endif # with_python3
+%package examples
+Summary: Examples from pyke source code
+Group: Documentation
+# Overkill, but it is hypothetically possible that the main package could go arch-specific.
+BuildArch: noarch
+
+%description examples
+Pyke example code files from the upstream source.
+
%prep
%if 0%{?with_python3}
%setup -q -a 1
@@ -78,24 +86,25 @@ rm -rf doc/testdocs*
rm -rf $RPM_BUILD_ROOT/usr/pyke
rm -rf doc/source/
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
-%defattr(-,root,root,-)
%doc README.txt LICENSE RELEASE_NOTES-* doc/html/
%{python_sitelib}/%{name}/
%{python_sitelib}/%{name}-%{version}*.egg-info/
%if 0%{?with_python3}
%files -n python3-pyke
-%defattr(-,root,root,-)
%doc README.txt LICENSE RELEASE_NOTES-* doc/html/
%{python3_sitelib}/%{name}/
%{python3_sitelib}/%{name}-%{version}*.egg-info
%endif # with_python3
+%files examples
+%doc examples/
+
%changelog
+* Mon Jul 18 2011 Tom Callaway <spot at fedoraproject.org> - 1.1.1-5
+- add examples subpackage
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list