update to 3.1.1

- added absolute path for wx-config
This commit is contained in:
Martin Gansser 2014-06-30 20:38:17 +02:00
commit 2cc93d217a
2 changed files with 11 additions and 6 deletions

3
clog
View file

@ -1,2 +1,3 @@
dropped CXXFLAGS to avoid compiler warnings
update to 3.1.1
- added absolute path for wx-config

View file

@ -1,9 +1,9 @@
%global wxversion %(wx-config --release)
%global wxversion %(/bin/wx-config --release)
%global wxincdir %{_includedir}/wx-%{wxversion}
Name: wxsqlite3
Version: 3.1.0
Release: 2%{?dist}
Version: 3.1.1
Release: 1%{?dist}
Summary: C++ wrapper around the SQLite 3.x database
Group: System Environment/Libraries
@ -59,7 +59,7 @@ that use %{name}.
%prep
%setup -q -n %{name}-3.1.0
%setup -q -n %{name}-%{version}
# delete bundled sqlite3 files
find -name sqlite3 -type d | xargs rm -rfv
@ -86,7 +86,7 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
# install own Debian-compatible pkgconfig file
mkdir -p ${RPM_BUILD_ROOT}%{_libdir}/pkgconfig
sed -e "s!@VERSION@!3.1.0!" \
sed -e "s!@VERSION@!3.1.1!" \
-e "s!@LIBDIR@!%{_lib}!" \
-e "s!@WXVERSION@!%{wxversion}!g" \
%{SOURCE1} > $RPM_BUILD_ROOT%{_libdir}/pkgconfig/%{name}-%{wxversion}.pc
@ -111,6 +111,10 @@ sed -e "s!@VERSION@!3.1.0!" \
%changelog
* Mon Jun 30 2014 Martin Gansser <martinkg@fedoraproject.org> 3.1.1-1
- update to 3.1.1
- added absolute path for wx-config
* Mon Jun 02 2014 Martin Gansser <martinkg@fedoraproject.org> 3.1.0-2
- dropped CXXFLAGS to avoid compiler warnings