Change-Id: I75d2fa2e6e63f8973f378ecc370cba1ac67e62d5
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
Depends: ${python3:Depends},
${shlibs:Depends},
${misc:Depends},
- python-rpm,
+ python3-rpm,
rpm2cpio,
git-buildpackage-common (= ${binary:Version})
Recommends: rpm
WITHOUT_NOSETESTS=1 python3 ./setup.py install --root=%{buildroot} --prefix=/usr
rm -rf %{buildroot}%{python3_sitelib}/*info
+#remove __pycache directory
+find %{buildroot}%{python3_sitelib} -name "__pycache__" | xargs rm -rfv
+
%if %{with docs}
# Install man pages
install -d %{buildroot}%{_mandir}/man1 %{buildroot}%{_mandir}/man5