Fix RH#1294712

epel8
Jeremy 9 years ago
parent 01a7868cce
commit ade3f6cc92

@ -11,7 +11,7 @@
Name: %{wxgtkname} Name: %{wxgtkname}
Version: 3.0.2 Version: 3.0.2
Release: 13%{?dist} Release: 14%{?dist}
Summary: GTK port of the wxWidgets GUI library Summary: GTK port of the wxWidgets GUI library
License: wxWidgets License: wxWidgets
Group: System Environment/Libraries Group: System Environment/Libraries
@ -197,10 +197,6 @@ sed -i -e 's|gtk3|gtk2|' %{buildroot}%{_libexecdir}/%{name}/wx-config
mv %{buildroot}%{_bindir}/wxrc* %{buildroot}%{_libexecdir}/%{name} mv %{buildroot}%{_bindir}/wxrc* %{buildroot}%{_libexecdir}/%{name}
ln -s ../..%{_libexecdir}/%{name}/wxrc-3.0 %{buildroot}%{_bindir}/wxrc-3.0 ln -s ../..%{_libexecdir}/%{name}/wxrc-3.0 %{buildroot}%{_bindir}/wxrc-3.0
#Remove some python bitecode artifacts
rm -f %{buildroot}%{_datadir}/bakefile/presets/*.pyc
rm -f %{buildroot}%{_datadir}/bakefile/presets/*.pyo
# move bakefiles to avoid conflicts with 2.8.* # move bakefiles to avoid conflicts with 2.8.*
mkdir %{buildroot}%{_datadir}/bakefile/presets/wx3 mkdir %{buildroot}%{_datadir}/bakefile/presets/wx3
mv %{buildroot}%{_datadir}/bakefile/presets/*.* %{buildroot}%{_datadir}/bakefile/presets/wx3 mv %{buildroot}%{_datadir}/bakefile/presets/*.* %{buildroot}%{_datadir}/bakefile/presets/wx3
@ -251,7 +247,9 @@ popd
%{_libdir}/wx %{_libdir}/wx
%{_datadir}/aclocal/wxwin3.m4 %{_datadir}/aclocal/wxwin3.m4
%{_datadir}/bakefile/presets/wx3 %{_datadir}/bakefile/presets/wx3
%{_datadir}/bakefile/presets/wx3/*.* #Exclude some python bitecode
%exclude %{_datadir}/bakefile/presets/wx3/*.pyc
%exclude %{_datadir}/bakefile/presets/wx3/*.pyo
%{_libexecdir}/%{name} %{_libexecdir}/%{name}
%files gl %files gl
@ -271,6 +269,9 @@ popd
%doc html %doc html
%changelog %changelog
* Mon Feb 22 2016 Jeremy Newton <alexjnewt AT hotmail DOT com> - 3.0.2-14
- Should actually fix RH#1294712
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-13 * Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.2-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

Loading…
Cancel
Save