1
0

13 Commits

Author SHA256 Message Date
82274b9b9a Accepting request 1284291 from devel:languages:python
- Do not make symlinks to example configs copy them instead

- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1284291
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-md2workflow?expand=0&rev=11
2025-06-10 10:06:13 +00:00
512384657b - 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
2025-06-10 04:26:03 +00:00
0dea936a36 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-md2workflow?expand=0&rev=27
2025-06-05 09:34:08 +00:00
7d8829374c Accepting request 1281825 from devel:languages:python
- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1281825
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-md2workflow?expand=0&rev=10
2025-06-02 20:00:28 +00:00
7f17038cbf - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-md2workflow?expand=0&rev=25
2025-06-02 08:50:28 +00:00
fec69fc95d Accepting request 875251 from devel:languages:python
- Drop ifpython3 guard for the Provides for md2workflow

OBS-URL: https://build.opensuse.org/request/show/875251
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-md2workflow?expand=0&rev=9
2021-02-26 20:59:55 +00:00
65fd6cafc1 Accepting request 839773 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/839773
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-md2workflow?expand=0&rev=8
2020-10-06 15:14:03 +00:00
e39c6ffacf Accepting request 817690 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/817690
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-md2workflow?expand=0&rev=7
2020-06-29 19:18:17 +00:00
a367b218b1 Accepting request 811565 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/811565
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-md2workflow?expand=0&rev=6
2020-06-05 18:19:59 +00:00
c3e0e130b1 Accepting request 795835 from devel:languages:python
- The package name is python-redmine not just redmine on pypi
  thus fix the requires

- Fix files sections and alternatives

- Update to 1.4.12
* Add redmine support https://github.com/openSUSE/md2workflow/issues/11
  This was part of hackweek19
* Add config for progress.opensuse.org (opensuse-prod)
* Split JIRA and Redmine plugins into a separate packages
  SLE doesn't have python-redmine so let's not force them to install
  it
* Add LICENSE as a Source1 (bump all remaining by one)

OBS-URL: https://build.opensuse.org/request/show/795835
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-md2workflow?expand=0&rev=5
2020-04-22 18:51:43 +00:00
d9aace1af7 Accepting request 744442 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/744442
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-md2workflow?expand=0&rev=4
2019-10-31 21:34:52 +00:00
6997cadf1d Accepting request 725878 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/725878
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-md2workflow?expand=0&rev=3
2019-08-27 08:20:12 +00:00
45335c230a Accepting request 720618 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/720618
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-md2workflow?expand=0&rev=2
2019-08-05 08:40:33 +00:00
2 changed files with 33 additions and 14 deletions

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
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>
- Convert to libalternatives
-------------------------------------------------------------------
Mon Jun 2 08:48:06 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Fri Feb 26 04:11:20 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-md2workflow
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,7 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without libalternatives
Name: python-md2workflow
Version: 1.4.18
Release: 0
@@ -31,17 +31,19 @@ Source3: suse-devel.conf
Source6: opensuse-prod.conf
BuildRequires: %{python_module icalendar}
BuildRequires: %{python_module jira}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-redmine}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: alts
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: alts
Requires: python-icalendar
Requires: python-md2workflow-common
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
Provides: md2workfow = %{version}
BuildArch: noarch
%python_subpackages
%description
@@ -83,22 +85,23 @@ cp %{_sourcedir}/{suse-prod,suse-devel,opensuse-prod}.conf config/
cp %{_sourcedir}/LICENSE LICENSE
%build
%python_build
%pyproject_wheel
%check
%pytest
%install
%python_install
%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/
%post
%python_install_alternative md2workflow
%pre
# removing old update-alternatives entries
%python_libalternatives_reset_alternative md2workflow
%postun
%python_uninstall_alternative md2workflow
# post and postun alternatives calls are not needed anymore
%files %{python_files}
%license LICENSE
@@ -114,7 +117,7 @@ ln -s -f %{_datadir}/md2workflow/config %{buildroot}%{_sysconfdir}/md2workflow
%{python_sitelib}/md2workflow/backend/*.py*
%dir %{python_sitelib}/md2workflow/validation
%{python_sitelib}/md2workflow/validation/*.py*
%{python_sitelib}/md2workflow*.egg-info
%{python_sitelib}/md2workflow-%{version}*-info
%files %{python_files plugins-jira}
%dir %{python_sitelib}/md2workflow/backend/jirabackend
@@ -142,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