fix macro usage
This commit is contained in:
parent
53c6c298e8
commit
0ed7041922
@ -1,8 +1,8 @@
|
||||
%global commit a345105b28173eb7da14ecd1e5beebe94140c6d7
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
|
||||
%{!?python2_sitearch: %define python2_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
%{!?perl_vendorarch:%global perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)}
|
||||
%{!?python2_sitearch:%global python2_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
# we don't want to provide private Perl or Python extension libs
|
||||
%global __provides_exclude_from ^(%{perl_vendorarch}/auto/.*\\.so|%{python2_sitearch}/.*\\.so)$
|
||||
@ -214,7 +214,7 @@ make test
|
||||
%{python2_sitearch}/openbabel.py*
|
||||
%{python2_sitearch}/pybel.py*
|
||||
# Egg-info is not generated in 2.3.2, see upstream bug 837
|
||||
#%{python_sitearch}/openbabel*.egg-info
|
||||
#%%{python_sitearch}/openbabel*.egg-info
|
||||
|
||||
%files -n ruby-%{name}
|
||||
%{ruby_vendorarchdir}/openbabel.so
|
||||
@ -222,6 +222,7 @@ make test
|
||||
%changelog
|
||||
* Thu Feb 18 2016 Dominik Mierzejewski <rpm@greysector.net> - 2.3.90-0.9.20150402gita345105
|
||||
- drop redundant BuildRoot and defattr
|
||||
- fix macro usage
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.90-0.8.20150402gita345105
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
Loading…
Reference in New Issue
Block a user