commit d5a2cd9f0d9c879b9a3900da65e213ccb672421c
Author: Andrea Musuruane <musuruan(a)gmail.com>
Date: Wed Dec 9 15:01:06 2020 +0100
Updated to new upstream release
.gitignore | 1 +
minidlna-1.3.0-fno-common.patch | 24 ++++++++++++++++++++++++
minidlna.spec | 14 ++++++++++----
sources | 2 +-
4 files changed, 36 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d575941..17dee3a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
minidlna-1.1.5.tar.gz
/minidlna-1.2.0.tar.gz
/minidlna-1.2.1.tar.gz
+/minidlna-1.3.0.tar.gz
diff --git a/minidlna-1.3.0-fno-common.patch b/minidlna-1.3.0-fno-common.patch
new file mode 100644
index 0000000..39b7aa3
--- /dev/null
+++ b/minidlna-1.3.0-fno-common.patch
@@ -0,0 +1,24 @@
+--- a/tivo_utils.c
++++ b/tivo_utils.c
+@@ -27,6 +27,8 @@
+ #include <sqlite3.h>
+ #include "tivo_utils.h"
+
++struct sqlite3PrngType sqlite3Prng;
++
+ /* This function based on byRequest */
+ char *
+ decodeString(char *string, int inplace)
+--- a/tivo_utils.h
++++ b/tivo_utils.h
+@@ -30,7 +30,9 @@ struct sqlite3PrngType {
+ unsigned char isInit; /* True if initialized */
+ unsigned char i, j; /* State variables */
+ unsigned char s[256]; /* State variables */
+-} sqlite3Prng;
++};
++
++extern struct sqlite3PrngType sqlite3Prng;
+
+ char *
+ decodeString(char *string, int inplace);
diff --git a/minidlna.spec b/minidlna.spec
index 97e51b6..a175b3c 100644
--- a/minidlna.spec
+++ b/minidlna.spec
@@ -1,8 +1,6 @@
-%define _legacy_common_support 1
-
Name: minidlna
-Version: 1.2.1
-Release: 12%{?dist}
+Version: 1.3.0
+Release: 1%{?dist}
Summary: Lightweight DLNA/UPnP-AV server targeted at embedded systems
License: GPLv2
@@ -12,7 +10,11 @@ Source0:
http://downloads.sourceforge.net/%{name}/%{version}/%{name}-%{ve
Source1: %{name}.service
# tmpfiles configuration for the /run directory
Source2: %{name}-tmpfiles.conf
+# Fix compiling with -fno-common
+#
https://sourceforge.net/p/minidlna/bugs/332/
+Patch0: %{name}-1.3.0-fno-common.patch
+BuildRequires: make
BuildRequires: gcc
BuildRequires: avahi-devel
BuildRequires: libuuid-devel
@@ -23,6 +25,7 @@ BuildRequires: flac-devel
BuildRequires: libid3tag-devel
BuildRequires: libjpeg-devel
BuildRequires: libexif-devel
+BuildRequires: zlib-devel
BuildRequires: gettext
BuildRequires: systemd
Requires(pre): shadow-utils
@@ -123,6 +126,9 @@ exit 0
%changelog
+* Wed Dec 9 11:29:39 CET 2020 Andrea Musuruane <musuruan(a)gmail.com> - 1.3.0-1
+- Updated to new upstream release
+
* Tue Aug 18 2020 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> -
1.2.1-12
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
diff --git a/sources b/sources
index a47609e..fd2a93a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a968d3d84971322471cabda3669cc0f8 minidlna-1.2.1.tar.gz
+SHA512 (minidlna-1.3.0.tar.gz) =
92a5ec0e59244c65dad5360ca68856ecc66fd32ec2aaddb9e49c142b866d2642726c7c62898059e5fa56431d2bbb644bbe60c7ae5eb0aba4fe2255c8e69dd2d6