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
747c665c
Commit
747c665c
authored
May 21, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix replacements for gcc*, drop last spaces in list repl, add test for pkgrepl
parent
702446c1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
78 additions
and
2 deletions
+78
-2
.gitignore
.gitignore
+1
-0
repl
share/eterbuild/functions/repl
+3
-2
specpkgr.spec.in
tests/specpkgr.spec.in
+45
-0
test_pkgrepl.sh
tests/test_pkgrepl.sh
+29
-0
No files found.
.gitignore
View file @
747c665c
po/etersoft-build-utils.mo
po/etersoft-build-utils.mo
tests/specpkgr.spec
*~
*~
share/eterbuild/functions/repl
View file @
747c665c
...
@@ -45,11 +45,12 @@ clean_pkgreq()
...
@@ -45,11 +45,12 @@ clean_pkgreq()
local
i VAR
local
i VAR
VAR
=
`
cat
|
sort
-u
`
VAR
=
`
cat
|
sort
-u
`
for
i
in
$VAR
;
do
for
i
in
$VAR
;
do
echo
"
$i
"
| egrep
"gcc|cpp|gcc-c++"
>
/dev/null
&&
continue
echo
"
$i
"
| egrep
"gcc[0-9]|cpp[0-9]|gcc-c++[0-9]"
>
/dev/null
&&
continue
echo
"
$i
"
| egrep
"gcc
\$
|cpp
\$
|gcc-c++
\$
"
>
/dev/null
&&
continue
echo
"
$i
"
|
grep
"[()<=>]"
>
/dev/null
&&
continue
echo
"
$i
"
|
grep
"[()<=>]"
>
/dev/null
&&
continue
echo
"
$i
"
|
grep
"^ *[0-9]
\.
[0-9]"
>
/dev/null
&&
continue
echo
"
$i
"
|
grep
"^ *[0-9]
\.
[0-9]"
>
/dev/null
&&
continue
echo
-n
"
$i
"
echo
-n
"
$i
"
done
done
| filter_strip_spaces
}
}
# Print list of all build requires in ALT notation
# Print list of all build requires in ALT notation
...
...
tests/specpkgr.spec.in
0 → 100644
View file @
747c665c
Name: specpkgr
Version: 0.7.4
Release: alt18
Summary: Freenx application/thin-client server
Group: Networking/Remote access
License: GPLv2
Url: http://freenx.berlios.de
Packager: Boris Savelev <boris@altlinux.org>
Obsoletes: freenx
Provides: freenx = %version
Requires: nx
Requires: openssl
Requires: netcat
Requires: expect
Requires: foomatic-db-engine
%if %_vendor == "alt"
Requires: dbus-tools-gui
Requires: binutils
Requires: Xdialog
Requires: /usr/bin/xvt
%endif
BuildPreReq: rpm-build-compat gcc4.1 gcc
BuildRequires: imake xorg-cf-files gccmakedep
Source: %name.source
%description
Freenx is an application/thin-client server based on nx technology.
NoMachine nx is the next-generation X compression and roundtrip suppression
scheme. It can operate remote X11 sessions over 56k modem dialup links
or anything better. This package contains a free (GPL) implementation
of the nxserver component.
%prep
%setup
%changelog
* Tue Sep 22 2009 Boris Savelev <boris@altlinux.org> 0.7.4-alt18.12
- fix CUPSLogLevel config parser
tests/test_pkgrepl.sh
0 → 100755
View file @
747c665c
#!/bin/sh
.
`
dirname
$0
`
/../share/eterbuild/functions/common
load_mod repl
SPECNAME
=
specpkgr.spec
cp
-f
specpkgr.spec.in
$SPECNAME
touch
~/RPM/SOURCES/specpkgr.source
export
VERBOSE
=
1
export
IGNOREGEAR
=
1
#sh ../bin/rpmbph -n -M51 specpkgr.spec
export
ROOTDIR
=
/net/os/stable/SUSE/11.3
#sh ../bin/rpmbph -n specpkgr.spec
check
()
{
[
"
$2
"
!=
"
$3
"
]
&&
echo
"FATAL with '
$1
': result
'
$3
' do not match with
'
$2
'"
||
echo
"OK for '
$1
' with '
$2
'"
}
LISTBUILDDEP
=
`
print_buildreq
$SPECNAME
`
check
"BuildDep"
"imake xorg-cf-files gccmakedep rpm-build-compat"
"
$LISTBUILDDEP
"
echo
-
LISTREQDEP
=
`
print_pkgreq
$SPECNAME
`
check
"Reqs"
"binutils dbus-tools-gui expect foomatic-db-engine netcat nx openssl /usr/bin/xvt Xdialog"
"
$LISTREQDEP
"
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