Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
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
korinf
etersoft-build-utils
Commits
a7452487
Commit
a7452487
authored
Jul 28, 2012
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tolocal_anyrepl: fix x86_64 Mandriva convert, add ArchLinux rules
parent
23b39442
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
repl
share/eterbuild/functions/repl
+10
-0
test_repl_find.sh
tests/test_repl_find.sh
+14
-0
No files found.
share/eterbuild/functions/repl
View file @
a7452487
...
...
@@ -47,7 +47,17 @@ tolocal_anyrepl()
[
"
$NEWRESULT
"
=
"
$GREP
"
]
&&
return
1
ALTPKGNAME
=
$GREP
TARGETPKGNAME
=
"
$NEWRESULT
"
return
0
fi
if
[
"
$DISTRNAME
"
=
"ArchLinux"
]
;
then
local
NEWRESULT
=
`
echo
$GREP
|
sed
-e
"s|^ *
\(
.*
\)
-devel *
\$
|
\1
|g"
|
tr
"[A-Z]"
"[a-z]"
`
[
"
$NEWRESULT
"
=
"
$GREP
"
]
&&
return
1
ALTPKGNAME
=
$GREP
TARGETPKGNAME
=
"
$NEWRESULT
"
return
0
fi
return
1
}
...
...
tests/test_repl_find.sh
View file @
a7452487
...
...
@@ -80,3 +80,17 @@ echo "Package:"
print_pkgrepl_list
echo
"Group:"
print_grprepl_list
DISTRNAME
=
ArchLinux
PKGVENDOR
=
archlinux
PKGFORMAT
=
pkg.gz
DISTRVERSION
=
2011.08
echo
"Replacement files for
$PKGVENDOR
/
$DISTRVERSION
(target
$PKGFORMAT
):"
print_pkgrepl_list
check_repl rpm-build-compat rpm-build-altlinux-compat
check_repl libusb-devel libusb
check_repl libX11 libx11
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