File python-XStatic-Magic-Search.spec of Package python-XStatic-Magic-Search

# spec file for package python-XStatic-Magic-Search
# Copyright (c) 2020 SUSE LLC
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

%global sname XStatic-Magic-Search
Name:           python-XStatic-Magic-Search
Release:        0
Summary:        Magic Search %{version} (XStatic packaging standard)
License:        Apache-2.0
Group:          Development/Languages/Python
BuildRequires:  openstack-macros
BuildRequires:  python3-setuptools
Requires:       python3-XStatic
BuildArch:      noarch

Magic Search JavaScript library packaged for setuptools (easy_install) / pip.

%autosetup -n %{sname}-%{version}

#Correct permission for README.txt
chmod -x README.txt

#Remove unneeded files type from source
find . -name *~ -exec rm -rf {} \;



%doc README.txt