Set wxversion to 3.0 for fedora <= 36
This commit is contained in:
parent
fb08789f57
commit
13afe2ceb9
1 changed files with 13 additions and 3 deletions
|
|
@ -1,9 +1,13 @@
|
|||
# wx-config
|
||||
%global wxversion %(wx-config-3.0 --release)
|
||||
%if 0%{?fedora} >= 37
|
||||
%global wxversion %(wx-config-3.2 --release)
|
||||
%endif
|
||||
%global wxincdir %{_includedir}/wx-%{wxversion}
|
||||
|
||||
Name: wxsqlite3
|
||||
Version: 4.8.2
|
||||
Release: 1%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: C++ wrapper around the SQLite 3.x database
|
||||
|
||||
License: wxWidgets
|
||||
|
|
@ -104,8 +108,8 @@ mv %{buildroot}%{_includedir}/wx %{buildroot}%{wxincdir}
|
|||
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
# install pkgconfig file
|
||||
mkdir -p %{buildroot}%{_libdir}/pkgconfig
|
||||
mv %{name}.pc %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
|
||||
### mkdir -p %{buildroot}%{_libdir}/pkgconfig
|
||||
###mv %{name}.pc %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
|
@ -126,6 +130,12 @@ mv %{name}.pc %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Aug 08 2022 Martin Gansser <martinkg@fedoraproject.org> 4.8.2-3
|
||||
- Set wxversion to 3.0 for fedora <= 36
|
||||
|
||||
* Sun Aug 07 2022 Martin Gansser <martinkg@fedoraproject.org> 4.8.2-2
|
||||
- Set wxversion to 3.2 for fedora} >= 37
|
||||
|
||||
* Fri Aug 05 2022 Martin Gansser <martinkg@fedoraproject.org> 4.8.2-1
|
||||
- Update to 4.8.2
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue