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
4ff6ce3e
Commit
4ff6ce3e
authored
1 year ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repack: restore fixing tarball files permissions
parent
247add04
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
epm-repack
bin/epm-repack
+1
-0
epm-repack-rpm
bin/epm-repack-rpm
+4
-1
No files found.
bin/epm-repack
View file @
4ff6ce3e
...
@@ -111,6 +111,7 @@ __prepare_source_package()
...
@@ -111,6 +111,7 @@ __prepare_source_package()
SUBGENERIC
=
'snap'
SUBGENERIC
=
'snap'
else
else
__epm_pack_run_handler generic-tar
"
$pkg
"
__epm_pack_run_handler generic-tar
"
$pkg
"
SUBGENERIC
=
'tar'
fi
fi
# it is possible there are a few files, we don't support it
# it is possible there are a few files, we don't support it
...
...
This diff is collapsed.
Click to expand it.
bin/epm-repack-rpm
View file @
4ff6ce3e
...
@@ -168,6 +168,9 @@ __epm_repack_to_rpm()
...
@@ -168,6 +168,9 @@ __epm_repack_to_rpm()
local
buildroot
=
"
$tmpbuilddir
/
$subdir
"
local
buildroot
=
"
$tmpbuilddir
/
$subdir
"
# for tarballs fix permissions (ideally fix in pack.d/generic-tar.sh, but there is tar repacking only)
[
"
$SUBGENERIC
"
=
"tar"
]
&&
chmod
$verbose
-R
a+rX
$buildroot
/
*
# detect spec and move to prev dir
# detect spec and move to prev dir
local
spec
=
"
$(
echo
$buildroot
/
*
.spec
)
"
local
spec
=
"
$(
echo
$buildroot
/
*
.spec
)
"
[
-s
"
$spec
"
]
||
fatal
"Can't find spec
$spec
"
[
-s
"
$spec
"
]
||
fatal
"Can't find spec
$spec
"
...
@@ -181,7 +184,7 @@ __epm_repack_to_rpm()
...
@@ -181,7 +184,7 @@ __epm_repack_to_rpm()
__fix_spec
$pkgname
$buildroot
$spec
__fix_spec
$pkgname
$buildroot
$spec
__apply_fix_code
"generic"
$buildroot
$spec
$pkgname
$abspkg
__apply_fix_code
"generic"
$buildroot
$spec
$pkgname
$abspkg
[
-n
"
$SUBGENERIC
"
]
&&
__apply_fix_code
"generic-
$SUBGENERIC
"
$buildroot
$spec
$pkgname
$abspkg
__apply_fix_code
"generic-
$SUBGENERIC
"
$buildroot
$spec
$pkgname
$abspkg
__apply_fix_code
$pkgname
$buildroot
$spec
$pkgname
$abspkg
__apply_fix_code
$pkgname
$buildroot
$spec
$pkgname
$abspkg
cd
-
>
/dev/null
cd
-
>
/dev/null
...
...
This diff is collapsed.
Click to expand it.
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