summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python-seaborn.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/python-seaborn.spec b/python-seaborn.spec
index ead9aed..ce52751 100644
--- a/python-seaborn.spec
+++ b/python-seaborn.spec
@@ -1,5 +1,5 @@
%global _empty_manifest_terminate_build 0
-%define dist_tag %(sed -n 's/.* release \\([0-9]\\{2\\}\\)\\.\\([0-9]\\{2\\}\\).*LTS-SP\\([0-9]\\).*/oe\\1\\2sp\\3/p' /etc/openEuler-release)
+%define dist_tag %(sed -n 's/.*release \\([0-9]*\\)\.\\([0-9]*\\).*[Ss][Pp]\\([0-9]*\\).*/oe\\1\\2sp\\3/p; t; s/.*release \\([0-9]*\\)\.\\([0-9]*\\).*/oe\\1\\2/p' /etc/openEuler-release)
Name: python-seaborn
Version: 0.13.2