mirror of
https://abf.rosa.ru/djam/rpm.git
synced 2025-02-23 10:23:04 +00:00
11 lines
529 B
Diff
11 lines
529 B
Diff
--- a/macros/mandriva.in 2014-10-25 15:11:42.195955354 +0400
|
|
+++ b/macros/mandriva.in 2014-10-25 15:09:09.000000000 +0400
|
|
@@ -44,7 +44,7 @@
|
|
%evr_tuple_select 1234
|
|
%evr_tuple_order EVRD
|
|
%disttag %{!?distsuffix:mdv}%{?distsuffix}
|
|
-%distepoch %(sed -e 's#.*release\\ \\(\\S*\\).*#\\1#' /etc/release)
|
|
+%distepoch %(sed -n -e 's/^VERSION_ID=//p' /etc/os-release)
|
|
|
|
# Dynamic EVRD tags macro for use with versioned provides/requires in place of
|
|
# '%{version}-%{release}', ie. to automatically add distepoch or epoch if present
|