aboutsummaryrefslogtreecommitdiff
path: root/deployment/fedora-package-x64/pkg-src
diff options
context:
space:
mode:
authorVasily <JustAMan@users.noreply.github.com>2019-02-25 16:35:06 +0300
committerGitHub <noreply@github.com>2019-02-25 16:35:06 +0300
commit500c0b9cba68223bb951464f925de8532bd262ab (patch)
treea405ea3c270ddf16e86da29d084dd6dc475fb5fc /deployment/fedora-package-x64/pkg-src
parent2e9a3d45c2a03f930856d038867a7caff01f208f (diff)
parent38ec68c488c0c8e88989dc7c3fdc0824cfe71343 (diff)
Merge pull request #979 from Wuerfelbecher/release-disable-debug
Build Package releases without debug turned on
Diffstat (limited to 'deployment/fedora-package-x64/pkg-src')
-rw-r--r--deployment/fedora-package-x64/pkg-src/jellyfin.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/deployment/fedora-package-x64/pkg-src/jellyfin.spec b/deployment/fedora-package-x64/pkg-src/jellyfin.spec
index cfe4212a05..68e0529cff 100644
--- a/deployment/fedora-package-x64/pkg-src/jellyfin.spec
+++ b/deployment/fedora-package-x64/pkg-src/jellyfin.spec
@@ -49,7 +49,8 @@ Jellyfin is a free software media system that puts you in control of managing an
%install
export DOTNET_CLI_TELEMETRY_OPTOUT=1
export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
-dotnet publish --configuration Release --output='%{buildroot}%{_libdir}/jellyfin' --self-contained --runtime %{dotnet_runtime} Jellyfin.Server
+dotnet publish --configuration Release --output='%{buildroot}%{_libdir}/jellyfin' --self-contained --runtime %{dotnet_runtime} \
+ "-p:GenerateDocumentationFile=false;DebugSymbols=false;DebugType=none" Jellyfin.Server
%{__install} -D -m 0644 LICENSE %{buildroot}%{_datadir}/licenses/%{name}/LICENSE
%{__install} -D -m 0644 %{SOURCE5} %{buildroot}%{_sysconfdir}/systemd/system/%{name}.service.d/override.conf
%{__install} -D -m 0644 Jellyfin.Server/Resources/Configuration/logging.json %{buildroot}%{_sysconfdir}/%{name}/logging.json
@@ -73,7 +74,6 @@ EOF
%{_libdir}/%{name}/jellyfin-web/*
%attr(755,root,root) %{_bindir}/%{name}
%{_libdir}/%{name}/*.json
-%{_libdir}/%{name}/*.pdb
%{_libdir}/%{name}/*.dll
%{_libdir}/%{name}/*.so
%{_libdir}/%{name}/*.a