Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav
eepm
Commits
558c4871
Commit
558c4871
authored
Aug 28, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack atom: fix packing with eepm-rpm-build
parent
1c308123
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
atom-beta.sh
repack.d/atom-beta.sh
+4
-9
No files found.
repack.d/atom-beta.sh
View file @
558c4871
...
@@ -14,16 +14,11 @@ for i in atom atom-beta ; do
...
@@ -14,16 +14,11 @@ for i in atom atom-beta ; do
subst
"1iConflicts:
$i
"
$SPEC
subst
"1iConflicts:
$i
"
$SPEC
done
done
# install all requires packages before packing (the list have got with rpmreqs package | xargs echo)
UNIREQUIRES
=
"coreutils findutils grep sed /usr/bin/git /usr/bin/node /usr/bin/npm /usr/bin/npx util-linux which xprop python3"
PREINSTALL_PACKAGES
=
"coreutils findutils git-core glib2 grep libalsa libatk libat-spi2-core
\
libcairo libcups libdbus libdrm libexpat libgbm libgdk-pixbuf libgio libgtk+3 libnspr libnss libpango libsecret
\
libX11 libxcb libXcomposite libXdamage libXext libXfixes libxkbcommon libxkbfile libXrandr
\
sed /usr/bin/git /usr/bin/node /usr/bin/npm /usr/bin/npx util-linux which xprop
\
node python3 rpm-build-python3"
.
$(
dirname
$0
)
/common-chromium-browser.sh
.
$(
dirname
$0
)
/common-chromium-browser.sh
set_autoreq
'yes,nomonolib,nomono,nopython'
add_electron_deps
move_to_opt
move_to_opt
subst
"s|
\$
USR_DIRECTORY/share/atom|/opt/atom|"
$BUILDROOT
/usr/bin/
$PRODUCTCUR
subst
"s|
\$
USR_DIRECTORY/share/atom|/opt/atom|"
$BUILDROOT
/usr/bin/
$PRODUCTCUR
...
@@ -34,8 +29,8 @@ add_bin_exec_command $PRODUCT /usr/bin/$PRODUCTCUR
...
@@ -34,8 +29,8 @@ add_bin_exec_command $PRODUCT /usr/bin/$PRODUCTCUR
rm
-v
$BUILDROOT
/usr/bin/
$APMNAME
rm
-v
$BUILDROOT
/usr/bin/
$APMNAME
add_bin_link_command
$APMNAME
$PRODUCTDIR
/resources/app/apm/node_modules/.bin/apm
add_bin_link_command
$APMNAME
$PRODUCTDIR
/resources/app/apm/node_modules/.bin/apm
subst
'1iBuildRequires:rpm-build-python3'
$SPEC
#
subst '1iBuildRequires:rpm-build-python3' $SPEC
subst
"1i%add_python3_path
$PRODUCTDIR
"
$SPEC
#
subst "1i%add_python3_path $PRODUCTDIR" $SPEC
# replace embedded git with standalone (due Can't locate Git/LoadCPAN/Error.pm)
# replace embedded git with standalone (due Can't locate Git/LoadCPAN/Error.pm)
EMBDIR
=
$PRODUCTDIR
/resources/app.asar.unpacked/node_modules/dugite/git
EMBDIR
=
$PRODUCTDIR
/resources/app.asar.unpacked/node_modules/dugite/git
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment