summaryrefslogtreecommitdiff
path: root/openEuler-rpm-config.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-10-24 01:38:40 +0000
committerCoprDistGit <infra@openeuler.org>2024-10-24 01:38:40 +0000
commit435460438cf478ab8f012c23b4862779c54a46b5 (patch)
tree80c6778d4f7751270f221bf3d42169b370380e29 /openEuler-rpm-config.spec
parentcd1ea5cb068fba2a8880050990b9c1a944404bae (diff)
automatic import of openEuler-rpm-config
Diffstat (limited to 'openEuler-rpm-config.spec')
-rw-r--r--openEuler-rpm-config.spec8
1 files changed, 6 insertions, 2 deletions
diff --git a/openEuler-rpm-config.spec b/openEuler-rpm-config.spec
index d044886..57adaef 100644
--- a/openEuler-rpm-config.spec
+++ b/openEuler-rpm-config.spec
@@ -3,7 +3,7 @@
Name: %{vendor}-rpm-config
Version: 31
-Release: 6
+Release: 7
License: GPL+
Summary: specific rpm configuration files
URL: https://gitee.com/src-openeuler/openEuler-rpm-config
@@ -58,6 +58,7 @@ Source706: brp-strip-lto
# Convenience lua functions
Source800: common.lua
+Source801: python.lua
Provides: python-rpm-macros = %{?epoch:%{epoch}:}%{version}-%{release}
Provides: python2-rpm-macros = %{?epoch:%{epoch}:}%{version}-%{release}
@@ -152,7 +153,7 @@ mkdir -p %{buildroot}%{_fileattrsdir}
install -p -m 644 -t %{buildroot}%{_fileattrsdir} *.attr
mkdir -p %{buildroot}%{_rpmluadir}/%{_vendor}/{rpm,srpm}
-install -p -m 644 -t %{buildroot}%{_rpmluadir}/%{_vendor} common.lua
+install -p -m 644 -t %{buildroot}%{_rpmluadir}/%{_vendor} *.lua
# Adaptive according to vendor
sed -i "s/@VENDOR@/%{vendor}/g" `grep "@VENDOR@" -rl %{buildroot}%{_rpmconfigdir}`
@@ -178,6 +179,9 @@ sed -i "s/@VENDOR@/%{vendor}/g" `grep "@VENDOR@" -rl %{buildroot}%{_rpmconfigdir
%{rpmvdir}/find-requires.ksyms
%changelog
+* Thu Oct 24 2024 Funda Wang <fundawang@yeah.net> - 31-7
+- add python.lua from fedora
+
* Sat Oct 19 2024 Funda Wang <fundawang@yeah.net> - 31-6
- add extension flags for python modules