1
0

Compare commits

2 Commits

2 changed files with 16 additions and 8 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 12 16:00:14 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Tue Jan 8 17:05:52 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-XStatic-Angular-Schema-Form
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# 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,20 +16,20 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-XStatic-Angular-Schema-Form
Version: 0.8.13.0
Release: 0
Summary: AngularJS library "schema-form" repackaged for the XStatic standard
License: MIT
Group: Development/Languages/Python
Url: http://schemaform.io/
URL: http://schemaform.io/
Source: https://files.pythonhosted.org/packages/source/X/XStatic-Angular-Schema-Form/XStatic-Angular-Schema-Form-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
@@ -42,15 +42,18 @@ You can find more info about the xstatic packaging way in the package `XStatic`.
%setup -q -n XStatic-Angular-Schema-Form-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%defattr(-,root,root,-)
%doc README.txt
%{python_sitelib}/*
%dir %{python_sitelib}/xstatic
%dir %{python_sitelib}/xstatic/pkg
%{python_sitelib}/xstatic/pkg/angular_schema_form
%{python_sitelib}/[Xx][Ss]tatic[-_][Aa]ngular[-_][Ss]chema[-_][Ff]orm-%{version}*-info
%{python_sitelib}/[Xx][Ss]tatic[-_][Aa]ngular[-_][Ss]chema[-_][Ff]orm-%{version}*nspkg.pth
%changelog