public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9: Do not conditionalize Sources
@ 2026-11-13 17:56 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-11-13 17:56 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/chromium
            Branch : epel9
            Commit : af6e045e6595ad93aac9649cff9575d6ac868b17
            Author : Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com>
            Date   : 2026-11-02T21:08:07+01:00
            Stats  : +1/-5 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/chromium/c/af6e045e6595ad93aac9649cff9575d6ac868b17?branch=epel9

            Log:
            Do not conditionalize Sources

Makes the spec file compliant with https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/#_do_not_conditionalize_sources

---
diff --git a/chromium.spec b/chromium.spec
index af4816f..48b5db7 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -550,10 +550,8 @@ Patch501: flatpak-Adjust-paths-for-the-sandbox.patch
 Patch502: flatpak-Expose-Widevine-into-the-sandbox.patch
 
 # nodejs patches
-%if ! %{system_nodejs}
 Patch510: 0001-Remove-unused-OpenSSL-config.patch
 Patch511: 0001-fips-disable-options.patch
-%endif
 
 # Patches from ungoogle chromium, https://github.com/ungoogled-software/ungoogled-chromium
 Patch521: disable-ai.patch
@@ -582,13 +580,13 @@ Source9: chromium-browser.xml
 Source10: chromium-browser.appdata.xml
 Source11: master_preferences
 
-%if ! %{system_nodejs}
 # nodejs bundles openssl, but we use the system version in el9
 # because openssl contains prohibited code, we remove openssl completely from
 # the tarball, using the script in Source13
 # http://nodejs.org/dist/v${version}/node-${nodejs_version}.tar.gz
 Source12: node-%{nodejs_version}-stripped.tar.gz
 Source13: nodejs-sources.sh
+%if ! %{system_nodejs}
 BuildRequires: openssl-devel
 %endif
 
@@ -597,11 +595,9 @@ BuildRequires: openssl-devel
 Source14: https://github.com/microsoft/TypeScript/releases/download/v7.0.2/typescript-linux-ppc64.tgz
 
 # License - MIT License, https://github.com/evanw/esbuild/blob/main/LICENSE.md 
-%if ! %{system_esbuild}
 Source15: https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-%{esbuild_version}.tgz
 Source16: https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-%{esbuild_version}.tgz
 Source17: https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-%{esbuild_version}.tgz
-%endif
 
 BuildRequires: golang
 BuildRequires: clang

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-13 17:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-13 17:56 [rpms/chromium] epel9: Do not conditionalize Sources 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox