]> git.pld-linux.org Git - packages/gaphor.git/blobdiff - gaphor.spec
BR: rpmbuild(macros) >= 1.710
[packages/gaphor.git] / gaphor.spec
index 9040a0e57f2351146d501f099af3c791c965d95c..83217cf52e6a2ec84b9b1f1a82eb9ef1079bbbcb 100644 (file)
@@ -9,6 +9,7 @@ Source0:        http://pypi.python.org/packages/source/g/gaphor/%{name}-%{version}.tar.
 # Source0-md5: cb08850a91f23bee62eb266f4388af0e
 Source1:       %{name}.desktop
 URL:           http://gaphor.devjavu.com/
+BuildRequires: rpmbuild(macros) >= 1.710
 BuildRequires: python-devel
 BuildRequires: python-pygtk-gtk >= 2.8.4
 %pyrequires_eq python-libs
@@ -35,15 +36,13 @@ podejmowaniu decyzji. Gaphor ułatwia pracę przy tworzeniu aplikacji.
 %setup -q
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir}}
 
-%{__python} setup.py install \
-               --optimize=2 \
-               --root=$RPM_BUILD_ROOT
+%py_install
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 
This page took 0.032348 seconds and 4 git commands to generate.