Fix python2_sitearch macro

This commit is contained in:
Robin Lee 2018-07-15 16:28:05 +08:00
parent 7b949c1902
commit a5db73fe6a
1 changed files with 6 additions and 3 deletions

View File

@ -134,7 +134,7 @@ chmod 644 %{buildroot}/%{_libdir}/*.a
%if %{with_console}
# rpm autostripper needs to see these as executable
chmod 755 %{buildroot}/%{python_sitearch}/ocfs2interface/*.so
chmod 755 %{buildroot}/%{python2_sitearch}/ocfs2interface/*.so
%endif
@ -176,8 +176,8 @@ chmod 755 %{buildroot}/%{python_sitearch}/ocfs2interface/*.so
%if %{with_console}
%files -n ocfs2console
%dir %{python_sitearch}/ocfs2interface
%{python_sitearch}/ocfs2interface/*
%dir %{python2_sitearch}/ocfs2interface
%{python2_sitearch}/ocfs2interface/*
%{_sbindir}/ocfs2console
%{_mandir}/man8/ocfs2console.8.gz
%endif
@ -195,6 +195,9 @@ chmod 755 %{buildroot}/%{python_sitearch}/ocfs2interface/*.so
%{_includedir}/ocfs2/*
%changelog
* Sun Jul 15 2018 Robin Lee <cheeselee@fedoraproject.org> - 1.8.5-7
- Fix python2_sitearch macro
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.5-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild