15
0

- Do not make symlinks to example configs copy them instead

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-md2workflow?expand=0&rev=28
This commit is contained in:
2025-06-10 04:26:03 +00:00
committed by Git OBS Bridge
parent 0dea936a36
commit 512384657b
2 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 10 04:25:23 UTC 2025 - Lubos Kocman <lubos.kocman@suse.com>
- Do not make symlinks to example configs copy them instead
-------------------------------------------------------------------
Thu Jun 5 09:33:24 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -94,7 +94,8 @@ cp %{_sourcedir}/LICENSE LICENSE
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/md2workflow
%python_expand %fdupes %{buildroot}%{$python_sitelib}
ln -s -f %{_datadir}/md2workflow/config %{buildroot}%{_sysconfdir}/md2workflow
mkdir -p %{buildroot}%{_sysconfdir}/md2workflow
cp -a config/* %{buildroot}%{_sysconfdir}/md2workflow/
%pre
# removing old update-alternatives entries
@@ -144,6 +145,7 @@ ln -s -f %{_datadir}/md2workflow/config %{buildroot}%{_sysconfdir}/md2workflow
%{_datadir}/md2workflow/config/*
%dir %{_datadir}/md2workflow/example/
%{_datadir}/md2workflow/example/*
%{_sysconfdir}/md2workflow
%dir %{_sysconfdir}/md2workflow/
%config(noreplace) %{_sysconfdir}/md2workflow/*.conf
%changelog