Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6da64571bc |
1 changed files with 20 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
Name: vdr-epg-daemon
|
||||
Version: 1.1.146
|
||||
Release: 4%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Summary: A daemon to download EPG data from internet and manage it in a mysql database
|
||||
|
||||
License: GPL+ and GPLv2 and BSD
|
||||
|
|
@ -72,6 +72,7 @@ sed -i \
|
|||
-e 's|@@OPTFLAGS | %{optflags}|' \
|
||||
Make.config
|
||||
|
||||
|
||||
%if 0%{?without_debug}
|
||||
sed -i -e 's|DEBUG = 1||' Make.config
|
||||
%else
|
||||
|
|
@ -111,6 +112,15 @@ sed -i \
|
|||
-e 's|#include <m_string.h>|#include <mysql.h>|' \
|
||||
epglv/src/epglv.h
|
||||
|
||||
## Add --embed flag for python 3.8 Support
|
||||
#if 0%{?fedora} >= 31
|
||||
sed -i -e 's:$(shell python-config --libs):$(shell python3-config --libs --embed || python3-config --libs):' Makefile
|
||||
sed -i -e 's:$(shell pkg-config --cflags --libs jansson):$(shell pkg-config python3.8-embed --cflags --libs jansson || pkg-config python38 --cflags --libs jansson):' Makefile
|
||||
sed -i -e 's:$(shell pkg-config --libs libsystemd):$(shell pkg-config python3.8-embed --libs libsystemd || pkg-config python38 --libs libsystemd):' Makefile
|
||||
sed -i -e 's:$(shell pkg-config --libs libsystemd-daemon):$(shell pkg-config python3.8-embed --libs libsystemd-daemon || pkg-config python38 --libs libsystemd-daemon):' Makefile
|
||||
#sed -i -e 's:$(shell python-config --includes):$(shell python3-config --includes --embed || python3-config --includes):' Make.config
|
||||
#endif
|
||||
|
||||
%build
|
||||
%make_build
|
||||
|
||||
|
|
@ -144,6 +154,15 @@ mkdir -p %{buildroot}%{_libdir}/mysql/plugin
|
|||
%{vdr_resdir}/epgd/
|
||||
|
||||
%changelog
|
||||
* Thu Aug 15 2019 Martin Gansser <martinkg@fedoraproject.org> - 1.1.146-7
|
||||
* - Revert --embed flag
|
||||
|
||||
* Sat Aug 03 2019 Martin Gansser <martinkg@fedoraproject.org> - 1.1.146-6
|
||||
- Add --embed flag for python 3.8 Support in Makefile
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.146-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Wed Jul 17 2019 Martin Gansser <martinkg@fedoraproject.org> - 1.1.146-4
|
||||
- Add if condition for f31 with BR python3-devel
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue