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
20303435
Commit
20303435
authored
3 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drop ALT specific cases, use rpm-build-intro
parent
fda89c88
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
27 deletions
+12
-27
eepm.spec
eepm.spec
+12
-27
No files found.
eepm.spec
View file @
20303435
%def_without external_distro_info
%define pkgsystem "%(bin/distr_info -g)"
%if %pkgsystem == "yum-rpm"
%def_disable yum
%else
%def_enable yum
%endif
# from rpm-build-intro
%define pkgsystem %(distr_vendor -g)
Name: eepm
Version: 3.14.7
...
...
@@ -19,23 +13,22 @@ Url: http://wiki.etersoft.ru/EPM
Packager: Vitaly Lipatov <lav@altlinux.ru>
# git
-clone http://git.etersoft.ru/projects/korinf
/eepm.git
# 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
Obsoletes: epm
Provides: epm = %EVR
%if
%_vendor
== "alt"
%if
"%_vendor"
== "alt"
# FIXHERE: Replace with target platform package manager
Requires: apt rpm
%endif
%if_with external_distro_info
Requires: distro_info >= 2.5
%endif
%description
Etersoft EPM is the package manager for any platform
and any platform version. It provides
...
...
@@ -108,18 +101,12 @@ ln -s serv %buildroot%_sysconfdir/bash_completion.d/cerv
chmod a+x %buildroot%_datadir/%name/{serv-,epm-}*
chmod a+x %buildroot%_datadir/%name/tools_*
%if_with external_distro_info
# use external eget
#rm -v %buildroot%_datadir/%name/tools_eget
# use external distro_info
rm -v %buildroot%_bindir/distr_info
%endif
mkdir -p %buildroot/var/lib/eepm/
%if
_disabled yum
%if
"%pkgsystem" == "yum-rpm"
rm -v %buildroot%_bindir/yum
%endif
mkdir -p %buildroot/var/lib/eepm/
%files
%doc README.md TODO LICENSE
...
...
@@ -134,23 +121,21 @@ mkdir -p %buildroot/var/lib/eepm/
%_bindir/eepm
%_bindir/serv
%_bindir/cerv
%if
_enabled yum
%if
"%pkgsystem" != "yum-rpm"
%exclude %_bindir/yum
%endif
%dir /var/lib/eepm/
%if_without external_distro_info
%_bindir/distr_info
%endif
%_man1dir/*
%_datadir/%name/
%_sysconfdir/bash_completion.d/serv
%_sysconfdir/bash_completion.d/cerv
%if
%_vendor
== "alt"
%if
"%_vendor"
== "alt"
%files repack
%endif
%if
_enabled yum
%if
"%pkgsystem" != "yum-rpm"
# not for yum based system
%files yum
%_bindir/yum
...
...
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