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
etersoft
eepm
Commits
ff95b52a
Commit
ff95b52a
authored
Feb 27, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack: use epm print info instead of $DISTRINFO
parent
4997ef57
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
8 deletions
+10
-8
README.md
repack.d/README.md
+0
-2
XenDesktopVDA.sh
repack.d/XenDesktopVDA.sh
+1
-1
generic.sh
repack.d/generic.sh
+4
-0
librewolf.sh
repack.d/librewolf.sh
+1
-1
pantum.sh
repack.d/pantum.sh
+1
-1
spnxclient.sh
repack.d/spnxclient.sh
+1
-1
teams.sh
repack.d/teams.sh
+1
-1
teamviewer.sh
repack.d/teamviewer.sh
+1
-1
No files found.
repack.d/README.md
deleted
100644 → 0
View file @
4997ef57
Allowed variables:
*
$DISTRVENDOR (distro_info utility)
repack.d/XenDesktopVDA.sh
View file @
ff95b52a
...
...
@@ -6,7 +6,7 @@ SPEC="$2"
.
$(
dirname
$0
)
/common.sh
if
[
"
$(
$DISTRVENDOR
-a
)
"
=
"x86_64"
]
;
then
if
[
"
$(
epm print info
-a
)
"
=
"x86_64"
]
;
then
# 32 bit
rm
-rfv
$BUILDROOT
/opt/Citrix/VDA/lib32
subst
"s|.*/libctxXrandrhook.so.||"
$SPEC
...
...
repack.d/generic.sh
View file @
ff95b52a
...
...
@@ -32,5 +32,9 @@ if [ -n "$flag_python3" ] ; then
epm
install
--skip-installed
rpm-build-python3
fi
# hack:
# TODO: check for tarball, detect root dir
#echo $BUILDROOT | grep -q "tar.*tmpdir/" && move_to_opt /liteide
# Set high Epoche to override repository package
subst
"s|^
\(
Name: .*
\)
$|
# Override repository package
\n
Epoch: 100
\n\1
|g"
$SPEC
repack.d/librewolf.sh
View file @
ff95b52a
...
...
@@ -25,6 +25,6 @@ for i in $BUILDROOT/$PRODUCTDIR/gmp-clearkey/0.1/lib*.so ; do
a
=
patchelf
--set-rpath
'$ORIGIN/../../'
$i
||
continue
done
if
[
"
$(
$DISTRVENDOR
-s
)
"
=
"alt"
]
;
then
if
[
"
$(
epm print info
-s
)
"
=
"alt"
]
;
then
epm
--skip-installed
install
fontconfig glib2 libalsa libatk libcairo libcairo-gobject libdbus libdbus-glib libfreetype libgdk-pixbuf libgio libgtk+3 libharfbuzz libpango libX11 libxcb libXcomposite libXcursor libXdamage libXext libXfixes libXi libXrandr libXrender libXtst
fi
repack.d/pantum.sh
View file @
ff95b52a
...
...
@@ -8,7 +8,7 @@ PRODUCT=pantum
.
$(
dirname
$0
)
/common.sh
if
[
"
$(
$DISTRVENDOR
-b
)
"
=
"64"
]
;
then
if
[
"
$(
epm print info
-b
)
"
=
"64"
]
;
then
remove_dir /usr/lib/sane
# keep /usr/lib64
else
...
...
repack.d/spnxclient.sh
View file @
ff95b52a
...
...
@@ -10,7 +10,7 @@ subst '1iAutoProv:no' $SPEC
subst
'1iRequires: libpcsclite libudev0'
$SPEC
if
[
"
$(
$DISTRVENDOR
-a
)
"
=
"x86_64"
]
;
then
if
[
"
$(
epm print info
-a
)
"
=
"x86_64"
]
;
then
remove_file /usr/share/sphinx/gui/spnxreader/libspnxreader_i386.so
remove_file /usr/share/sphinx/gui/lib/libguinative_i386.so
subst
"s|/usr/lib/i386-linux-gnu/libpcsclite.so|/usr/lib64/libpcsclite.so|"
$BUILDROOT
/usr/bin/spnxclient
...
...
repack.d/teams.sh
View file @
ff95b52a
...
...
@@ -10,7 +10,7 @@ PRODUCTDIR=/opt/teams
.
$(
dirname
$0
)
/common-chromium-browser.sh
if
[
"
$(
$DISTRVENDOR
-e
)
"
=
"ALTLinux/p8"
]
;
then
if
[
"
$(
epm print info
-e
)
"
=
"ALTLinux/p8"
]
;
then
# drop unsupported binary
#subst '1i%filter_from_requires /^libm.so.6(GLIBC_2.27).*/d' $SPEC
rm
-rf
$BUILDROOT
/usr/share/teams/resources/app.asar.unpacked/node_modules/@microsoft/fasttext-languagedetector/build/
...
...
repack.d/teamviewer.sh
View file @
ff95b52a
...
...
@@ -8,7 +8,7 @@ PRODUCTDIR=/opt/teamviewer
.
$(
dirname
$0
)
/common.sh
if
[
"
$(
$DISTRVENDOR
-a
)
"
=
"x86_64"
]
;
then
if
[
"
$(
epm print info
-a
)
"
=
"x86_64"
]
;
then
# 32 bit
rm
-fv
$BUILDROOT
/opt/teamviewer/tv_bin/script/libdepend
subst
"s|.*script/libdepend.*||"
$SPEC
...
...
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