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
e285006a
Commit
e285006a
authored
Feb 22, 2013
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmbph: drop _unitdir on old ALT's distro
parent
d2fba6f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
rpmbph
bin/rpmbph
+9
-0
No files found.
bin/rpmbph
View file @
e285006a
...
@@ -45,6 +45,15 @@ if [ "$PKGVENDOR" = "alt" ] ; then
...
@@ -45,6 +45,15 @@ if [ "$PKGVENDOR" = "alt" ] ; then
BUILDREQ
=
"BuildRequires: rpm-build-compat >= 1.7.24"
BUILDREQ
=
"BuildRequires: rpm-build-compat >= 1.7.24"
fi
fi
# drop unsuported technologies
case
$DISTRVERSION
in
4.0|4.1|5.1|p5|p6
)
# these systems doesn't support systemd
subst
"s|^install.*%_unitdir.*|# removed install to _unitdir by rpmbph|g"
$SPECNAME
subst
"s|^%_unitdir.*|# removed pack _unitdir by rpmbph|g"
$SPECNAME
;;
esac
# Change release according to alt policy with extensions
# Change release according to alt policy with extensions
# General rule: alwars alt(N-1).MM.(N)
# General rule: alwars alt(N-1).MM.(N)
docmd set_release
$SPECNAME
$(
get_txtrelease
$SPECNAME
)$(
decrement_release
$BASERELEASE
)
.
$MDISTR
.
$BASERELEASE
docmd set_release
$SPECNAME
$(
get_txtrelease
$SPECNAME
)$(
decrement_release
$BASERELEASE
)
.
$MDISTR
.
$BASERELEASE
...
...
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