[packages/libsecret] - added sh patch (don't use non-standard $'...' expansion)
qboosh
qboosh at pld-linux.org
Sat Oct 27 22:04:02 CEST 2018
commit aae799912d5d16cf51788028583d2088c0a556ec
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Oct 27 22:07:46 2018 +0200
- added sh patch (don't use non-standard $'...' expansion)
libsecret-sh.patch | 11 +++++++++++
libsecret.spec | 11 +++++++++++
2 files changed, 22 insertions(+)
---
diff --git a/libsecret.spec b/libsecret.spec
index 4ff0b5d..32bbafc 100644
--- a/libsecret.spec
+++ b/libsecret.spec
@@ -13,7 +13,11 @@ License: LGPL v2.1+
Group: Libraries
Source0: http://ftp.gnome.org/pub/GNOME/sources/libsecret/0.18/%{name}-%{version}.tar.xz
# Source0-md5: c6cf132a56bd346fbf49a43abb02e5c2
+Patch0: %{name}-sh.patch
URL: https://live.gnome.org/Libsecret
+BuildRequires: autoconf >= 2.63
+BuildRequires: automake >= 1:1.11
+BuildRequires: gettext-tools
BuildRequires: glib2-devel >= 1:2.38.0
BuildRequires: gobject-introspection-devel >= 1.29
%{?with_apidocs:BuildRequires: gtk-doc >= 1.9}
@@ -96,8 +100,15 @@ API libsecret dla języka Vala.
%prep
%setup -q
+%patch0 -p1
%build
+%{__intltoolize}
+%{__libtoolize}
+%{__aclocal} -I build/m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure \
--disable-silent-rules \
%{__enable_disable static_libs static} \
diff --git a/libsecret-sh.patch b/libsecret-sh.patch
new file mode 100644
index 0000000..d13e345
--- /dev/null
+++ b/libsecret-sh.patch
@@ -0,0 +1,11 @@
+--- libsecret-0.18.6/libsecret/Makefile.am.orig 2017-12-05 14:16:03.000000000 +0100
++++ libsecret-0.18.6/libsecret/Makefile.am 2018-10-27 22:00:21.508203881 +0200
+@@ -89,7 +89,7 @@
+ $(AM_V_GEN) gdbus-codegen --interface-prefix org.freedesktop.Secret. \
+ --generate-c-code temp-dbus-generated --c-namespace SecretGen $<
+ secret-dbus-generated.c: temp-dbus-generated.c Makefile.am
+- $(AM_V_GEN) sed -e $$'1i\\\n#define GLIB_DISABLE_DEPRECATION_WARNINGS' \
++ $(AM_V_GEN) sed -e '1i#define GLIB_DISABLE_DEPRECATION_WARNINGS' \
+ -e 's/secret_gen_/_secret_gen_/g' -e 's/type-/type/g' \
+ -e 's/temp-dbus-generated.h/secret-dbus-generated.h/g' \
+ temp-dbus-generated.c > secret-dbus-generated.c
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libsecret.git/commitdiff/aae799912d5d16cf51788028583d2088c0a556ec
More information about the pld-cvs-commit
mailing list