Skip to content
This repository was archived by the owner on Sep 22, 2024. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixpkg: nodejs-electron11-bin switch to Cn Mirrors
  • Loading branch information
zhullyb committed Mar 13, 2022
commit 475cee4dfa63a4bd3408de65293a833cfb3ba135
21 changes: 21 additions & 0 deletions rpms/nodejs-electron11-bin/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Copyright (c) Electron contributors
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think upstream already have this file in the source, so no need to copy again?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides, license can be listed in the %file section.

Copyright (c) 2013-2020 GitHub Inc.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3 changes: 2 additions & 1 deletion rpms/nodejs-electron11-bin/nodejs-electron11-bin.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Release: 1%{?dist}
Summary: Build cross-platform desktop apps with JavaScript, HTML, and CSS
License: MIT
Url: https://github.com/electron/electron
Source0: %{url}/releases/download/v%{version}/electron-v%{version}-linux-x64.zip
Source0: https://npmmirror.com/mirrors/electron/v%{version}/electron-v%{version}-linux-x64.zip
# You can find original source here: https://github.com/electron/electron/releases
Source1: electron11-launcher.sh
Source2: https://raw.githubusercontent.com/electron/electron/main/LICENSE

Expand Down