Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit 75b871c

Browse files
authored
Merge pull request #53 from iotbzh/master
Use python2 rpm macro for spec file
2 parents a7fe272 + b751394 commit 75b871c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packaging/bmap-tools.spec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ BuildRequires: python-distribute
3535
%if 0%{?fedora_version}
3636
BuildRequires: python-setuptools
3737
%endif
38+
BuildRequires: python2-rpm-macros
3839

3940
%if 0%{?suse_version}
4041
# In OpenSuse the xml.etree module is provided by the python-xml package
@@ -71,7 +72,7 @@ source.tizen.org/documentation/reference/bmaptool for more information.
7172

7273
%install
7374
rm -rf %{buildroot}
74-
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot}
75+
%{__python2} setup.py install --prefix=%{_prefix} --root=%{buildroot}
7576

7677
mkdir -p %{buildroot}/%{_mandir}/man1
7778
install -m644 docs/man1/bmaptool.1 %{buildroot}/%{_mandir}/man1

0 commit comments

Comments
 (0)