mirror of
https://abf.rosa.ru/djam/rpm.git
synced 2025-02-23 18:33:04 +00:00
28 lines
1.2 KiB
Diff
28 lines
1.2 KiB
Diff
diff -Nur rpm-5.4.10.old/macros/mandriva rpm-5.4.10/macros/mandriva
|
|
--- rpm-5.4.10.old/macros/mandriva 2013-11-22 18:50:06.000000000 +0400
|
|
+++ rpm-5.4.10/macros/mandriva 2013-11-22 18:52:32.396164469 +0400
|
|
@@ -43,8 +43,8 @@
|
|
# %release with such.
|
|
%evr_tuple_select 1234
|
|
%evr_tuple_order EVRD
|
|
-%disttag %{!?distsuffix:mdv}%{?distsuffix}
|
|
-%distepoch %(sed -e 's#.*release\\ \\(\\S*\\).*#\\1#' /etc/release)
|
|
+%disttag red
|
|
+%distepoch 3
|
|
|
|
# Dynamic EVRD tags macro for use with versioned provides/requires in place of
|
|
# '%{version}-%{release}', ie. to automatically add distepoch or epoch if present
|
|
diff -Nur rpm-5.4.10.old/macros/mandriva.in rpm-5.4.10/macros/mandriva.in
|
|
--- rpm-5.4.10.old/macros/mandriva.in 2013-11-22 18:50:06.000000000 +0400
|
|
+++ rpm-5.4.10/macros/mandriva.in 2013-11-22 18:52:46.059164876 +0400
|
|
@@ -43,8 +43,8 @@
|
|
# %release with such.
|
|
%evr_tuple_select 1234
|
|
%evr_tuple_order EVRD
|
|
-%disttag %{!?distsuffix:mdv}%{?distsuffix}
|
|
-%distepoch %(sed -e 's#.*release\\ \\(\\S*\\).*#\\1#' /etc/release)
|
|
+%disttag red
|
|
+%distepoch 3
|
|
|
|
# Dynamic EVRD tags macro for use with versioned provides/requires in place of
|
|
# '%{version}-%{release}', ie. to automatically add distepoch or epoch if present
|