use python macros and re,ove unsuppoted python 3 package
This commit is contained in:
parent
cd314a72ca
commit
ae41e8ee17
@ -27,8 +27,8 @@ BuildRequires: java-devel >= 1:1.7.0
|
||||
BuildRequires: java-javadoc
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: python2-devel python3-devel
|
||||
BuildRequires: python-setuptools python3-setuptools
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python-setuptools
|
||||
|
||||
%description
|
||||
ANTLR, ANother Tool for Language Recognition, (formerly PCCTS) is a
|
||||
@ -130,7 +130,6 @@ popd
|
||||
# build python
|
||||
cd lib/python
|
||||
%py2_build
|
||||
%py3_build
|
||||
cd ../../
|
||||
|
||||
%install
|
||||
@ -151,7 +150,6 @@ install -p -m 755 scripts/antlr-config $RPM_BUILD_ROOT%{_bindir}
|
||||
# python
|
||||
cd lib/python
|
||||
%py2_install
|
||||
%py3_install
|
||||
cd ../..
|
||||
|
||||
|
||||
@ -191,7 +189,7 @@ cd ../..
|
||||
|
||||
%changelog
|
||||
* Mon Feb 29 2016 gil cattaneo <puntogil@libero.it> 0:2.7.7-41
|
||||
- add python 3 subpackage (rhbz#1313024)
|
||||
- use python macros
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0:2.7.7-40
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
Loading…
Reference in New Issue
Block a user