Add default Smack manifest for python-setuptools.spec 1.0_post 2.0alpha master 2.0_alpha
authorRyan Ware <ryan.r.ware@intel.com>
Wed, 30 May 2012 00:49:45 +0000 (17:49 -0700)
committerRyan Ware <ryan.r.ware@intel.com>
Wed, 30 May 2012 00:49:45 +0000 (17:49 -0700)
Change-Id: I6a958d6de2127d8ebae8183620616ed00969b75b
Signed-off-by: Ryan Ware <ryan.r.ware@intel.com>
packaging/python-setuptools.manifest [new file with mode: 0644]
packaging/python-setuptools.spec

diff --git a/packaging/python-setuptools.manifest b/packaging/python-setuptools.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
index da117f8..bc8005e 100644 (file)
@@ -9,6 +9,7 @@ URL:        http://pypi.python.org/pypi/setuptools
 Source0:    http://pypi.python.org/packages/source/s/setuptools/setuptools-%{version}.tar.gz
 Source1:    psfl.txt
 Source2:    zpl.txt
+Source1001: packaging/python-setuptools.manifest 
 BuildRequires:  python-devel
 
 
@@ -42,6 +43,7 @@ requiring setuptools.
 %setup -q -n setuptools-%{version}
 
 %build
+cp %{SOURCE1001} .
 find -name '*.txt' | xargs chmod -x
 find -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python}|'
 CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
@@ -60,11 +62,13 @@ chmod +x $RPM_BUILD_ROOT%{python_sitelib}/setuptools/command/easy_install.py
 
 
 %files
+%manifest python-setuptools.manifest
 %{python_sitelib}/*
 %exclude %{python_sitelib}/easy_install*
 
 
 %files devel
+%manifest python-setuptools.manifest
 %{python_sitelib}/easy_install*
 %{_bindir}/*