From b39ba23a7185f437fe0e977f9d48a388f1f321e6 Mon Sep 17 00:00:00 2001 From: Ryan Ware Date: Tue, 29 May 2012 17:49:45 -0700 Subject: [PATCH] Add default Smack manifest for python-setuptools.spec Change-Id: I6a958d6de2127d8ebae8183620616ed00969b75b Signed-off-by: Ryan Ware --- packaging/python-setuptools.manifest | 5 +++++ packaging/python-setuptools.spec | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 packaging/python-setuptools.manifest diff --git a/packaging/python-setuptools.manifest b/packaging/python-setuptools.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/python-setuptools.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/python-setuptools.spec b/packaging/python-setuptools.spec index da117f8..bc8005e 100644 --- a/packaging/python-setuptools.spec +++ b/packaging/python-setuptools.spec @@ -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}/* -- 2.34.1