Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:PSuarezHernandez:bundlenew:AlmaLinux8
saltbundlepy-appdirs
saltbundlepy-appdirs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File saltbundlepy-appdirs.spec of Package saltbundlepy-appdirs
# # spec file for package saltbundlepy-appdirs # # Copyright (c) 2021 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 https://bugs.opensuse.org/ # %{?!saltbundlepy_module:%define saltbundlepy_module() saltbundlepy-%{**}} %define pythons saltbundlepy # Disable python bytecompile for all distros # It's called explicitly in the spec %global __brp_python_bytecompile %{nil} Name: saltbundlepy-appdirs Version: 1.4.4 Release: 0 Summary: A small Python module for determining platform-specific dirs License: MIT Group: Development/Languages/Python URL: http://github.com/ActiveState/appdirs Source: https://files.pythonhosted.org/packages/source/a/appdirs/appdirs-%{version}.tar.gz BuildRequires: %{saltbundlepy_module base >= 3.10} BuildRequires: saltbundlepy-rpm-macros Requires: saltbundlepy-base BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages %description ``appdirs`` will help you choose an appropriate: - user data dir (``user_data_dir``) - user cache dir (``user_cache_dir``) - site data dir (``site_data_dir``) - user log dir (``user_log_dir``) %prep %setup -q -n appdirs-%{version} # strip shebang sed -r -i '1s/^#!.*$//' appdirs.py %build %python_build %install %python_install # fix up egg-info because distutils is bad and should feel bad %{python_expand rm %{buildroot}%{$python_sitelib}/*.egg-info cp -r appdirs.egg-info %{buildroot}%{$python_sitelib}/appdirs-%{version}-py%{$python_version}.egg-info } %files %{python_files} %defattr(-,root,root,-) %doc CHANGES.rst LICENSE.txt README.rst %pycache_only %{python_sitelib}/__pycache__/* %{python_sitelib}/appdirs.py* %{python_sitelib}/appdirs-%{version}-py%{python_version}.egg-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor