[packages/dotnet-gdata-sharp] Rel 5
arekm
arekm at pld-linux.org
Mon Aug 17 00:28:19 CEST 2026
commit c340c0f367c361520166b8b7cea3e5fc36859baf
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Aug 17 00:27:55 2026 +0200
Rel 5
dotnet-gdata-sharp-nunit.patch | 17 +++++++++++++++++
dotnet-gdata-sharp.spec | 8 +++++++-
2 files changed, 24 insertions(+), 1 deletion(-)
---
diff --git a/dotnet-gdata-sharp.spec b/dotnet-gdata-sharp.spec
index af2dbb3..68bfcc7 100644
--- a/dotnet-gdata-sharp.spec
+++ b/dotnet-gdata-sharp.spec
@@ -1,14 +1,19 @@
+#
+# managed dotnet code, no native debug sources
+%undefine _debugsource_packages
+#
Summary: gdata-sharp - C# library that makes it easy to access data through Google Data APIs
Summary(pl.UTF-8): gdata-sharp - biblioteka C# ułatwiająca dostęp do danych poprzez API Google Data
Name: dotnet-gdata-sharp
Version: 2.2.0.0
-Release: 4
+Release: 5
License: Apache v2.0
Group: Libraries
#Source0Download: https://code.google.com/p/google-gdata/downloads/list
Source0: http://google-gdata.googlecode.com/files/libgoogle-data-mono-%{version}.tar.gz
# Source0-md5: d748a5ae2b349b9832e303e95c18ce79
Patch0: %{name}-update.patch
+Patch1: %{name}-nunit.patch
URL: https://github.com/google/google-gdata
BuildRequires: dos2unix
BuildRequires: dotnet-newtonsoft-json-devel
@@ -42,6 +47,7 @@ Pliki wymagane do kompilacji z użyciem gdata-sharp.
%prep
%setup -q -n libgoogle-data-mono-%{version}
%patch -P0 -p1
+%patch -P1 -p1
dos2unix misc/*.pc.in
%build
diff --git a/dotnet-gdata-sharp-nunit.patch b/dotnet-gdata-sharp-nunit.patch
new file mode 100644
index 0000000..3e3bfae
--- /dev/null
+++ b/dotnet-gdata-sharp-nunit.patch
@@ -0,0 +1,17 @@
+Stop building the unit tests as part of "all".
+
+mono 6.x no longer bundles nunit, so nunit.framework.dll is gone and the tests
+target fails. unittests.dll is never installed - only $(ALLLIBS) and the
+pkgconfig files are - so nothing that ships depends on it.
+
+--- libgoogle-data-mono-2.2.0.0/Makefile.orig
++++ libgoogle-data-mono-2.2.0.0/Makefile
+@@ -53,7 +53,7 @@
+ gspreadsheet_demo.exe \
+ PhotoTool.exe
+
+-all: $(ALLLIBS) tests $(samples) $(PKGCONFIG_FILES)
++all: $(ALLLIBS) $(samples) $(PKGCONFIG_FILES)
+
+ core_sources = $(wildcard src/core/*.cs) $(wildcard version/*.cs)
+ extensions_sources = $(wildcard src/extensions/*.cs) $(wildcard version/*.cs)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dotnet-gdata-sharp.git/commitdiff/c340c0f367c361520166b8b7cea3e5fc36859baf
More information about the pld-cvs-commit
mailing list