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
Nurlan
eepm
Commits
d82b774a
Commit
d82b774a
authored
Aug 22, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: add tests for repack
parent
25c026f4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
107 additions
and
0 deletions
+107
-0
test.spec.in
tests/test.spec.in
+89
-0
test_repack.sh
tests/test_repack.sh
+18
-0
No files found.
tests/test.spec.in
0 → 100644
View file @
d82b774a
# redefined during rpmbps (originally set from rpm-build-intro)
%define pkgsystem apt-rpm
Name: eepm
Version: 3.26.2
Release: alt1
Summary: Etersoft EPM package manager
License: AGPL-3.0+
Group: System/Configuration/Packaging
Url: http://wiki.etersoft.ru/EPM
Packager: Vitaly Lipatov <lav@altlinux.ru>
# git clone https://github.com/Etersoft/eepm.git
Source: ftp://updates.etersoft.ru/pub/Etersoft/Sisyphus/sources/tarball/%name-%version.tar
BuildArchitectures: noarch
# use distr_vendor from it
BuildRequires: rpm-build-intro
%if "%_vendor" == "alt"
Obsoletes: epm
Provides: epm = %EVR
# FIXHERE: Replace with target platform package manager
Requires: apt rpm
%endif
Requires: which
%description
Etersoft EPM is the package manager for any platform
and any platform version. It provides
universal interface to any package manager.
Can be useful for system administrators working
with various distros.
See detailed description here: http://wiki.etersoft.ru/EPM
%package repack
Summary: Etersoft EPM package manager (repack requirements)
Group: System/Configuration/Packaging
Requires: %name = %EVR
Requires: erc alien dpkg patchelf
Requires: /usr/bin/rpmbuild
%description repack
This package has requirements needed for using epm repack on ALT
(repack rpm packages and repack/install deb packages).
See https://bugzilla.altlinux.org/show_bug.cgi?id=34308 for
a discussion about extra requirements.
%package yum
Summary: yum like frontend for Etersoft EPM package manager
Group: System/Configuration/Packaging
Requires: %name = %EVR
Conflicts: yum
%description yum
This package contains yum like frontend for Etersoft EPM package manager.
%prep
%setup
%install
%files
%dir "/opt/"
%dir /opt/
%dir /opt
%doc README.md TODO LICENSE
%dir %_sysconfdir/eepm/
%dir %_sysconfdir/eepm/play.d/
%changelog
* Sat Aug 20 2022 Vitaly Lipatov <lav@altlinux.ru> 3.26.2-alt1
- add epm --short --version
- epm-autoremove: enable real autoremove on yum based systems
- fix $@ using for set vars (eterbug 15846)
- epm repack icq: fix for ignore empty download
- epm full-upgrade: do fatal on errors
- epm play: return 0 if a package is already installed from the repo
tests/test_repack.sh
0 → 100755
View file @
d82b774a
#!/bin/sh
load_helper
()
{
.
../bin/
$1
}
PMTYPE
=
apt-rpm
load_helper epm-repack
td
=
$(
mktemp
-d
)
||
fatal
mkdir
-p
$td
/
{
/etc,/opt/test
}
cp
-f
test.spec.in test.spec
__fix_spec
test
"
$td
"
test.spec
rm
-rfv
$td
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