[packages/python-pygit2] cosmetics

glen glen at pld-linux.org
Mon Jun 10 10:53:45 CEST 2013


commit c6e2e8fdfeecb86cf556ec23b0a96f70a2c7fdf0
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Jun 10 11:53:39 2013 +0300

    cosmetics

 python-pygit2.spec | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/python-pygit2.spec b/python-pygit2.spec
index 53cb45e..35a2c76 100644
--- a/python-pygit2.spec
+++ b/python-pygit2.spec
@@ -30,13 +30,12 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 pygit2 is a set of Python bindings to the libgit2 shared library.
 
-%package -n	python3-%{module}
+%package -n python3-%{module}
 Summary:	Python bindings for libgit2 library
 
 %description -n python3-%{module}
 pygit2 is a set of Python bindings to the libgit2 shared library.
 
-
 %package apidoc
 Summary:	pygit2 API documentation
 Summary(pl.UTF-8):	Dokumentacja API pygit2
@@ -51,7 +50,6 @@ Dokumentacja API %{module}.
 %prep
 %setup -q -n %{module}-%{version}
 
-
 %build
 %{__python} setup.py build --build-base build-2
 %if %{with python3}
@@ -77,12 +75,12 @@ rm -rf _build/html/_sources
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__python} -- setup.py \
 	build -b build-2 \
 	install \
 	--root=$RPM_BUILD_ROOT \
 	--optimize=2
+
 %py_postclean
 
 %if %{with python3}
@@ -93,8 +91,6 @@ rm -rf $RPM_BUILD_ROOT
 	--optimize=2
 %endif
 
-
-# change %{py_sitedir} to %{py_sitescriptdir} for 'noarch' packages!
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
 %py_postclean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pygit2.git/commitdiff/c6e2e8fdfeecb86cf556ec23b0a96f70a2c7fdf0



More information about the pld-cvs-commit mailing list