summaryrefslogtreecommitdiffstats
path: root/package.spec
diff options
context:
space:
mode:
Diffstat (limited to 'package.spec')
-rw-r--r--package.spec44
1 files changed, 0 insertions, 44 deletions
diff --git a/package.spec b/package.spec
deleted file mode 100644
index 2be6e7f..0000000
--- a/package.spec
+++ /dev/null
@@ -1,44 +0,0 @@
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-Name: python-foobar
-Version: 1.0.2
-Release: 0
-Summary: Example foobar package
-License: MIT
-URL: https://github.com/bumba/foobar
-Source: https://files.pythonhosted.org/packages/source/s/foobar/foobar-%{version}.zip
-# PATCH-FIX-UPSTREAM remove_mock.patch bsc#123456 mcepl@suse.com
-# we don't need stinking mock
-Patch0: remove_mock.patch
-BuildRequires: %{python_module appdirs}
-BuildRequires: %{python_module pytest}
-BuildRequires: fdupes
-BuildRequires: python-rpm-macros
-Requires: python-appdirs
-BuildArch: noarch
-%python_subpackages
-
-%description
-foobar is a collection of enhancements to the Python packages that
-allow you to build and distribute Python packages,
-
-%prep
-%autosetup -p1 -n foobar-%{version}
-
-%build
-%python_build
-
-%install
-%python_install
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
-
-%check
-%pytest -k
-
-%files %{python_files}
-%license LICENSE
-%doc CHANGES.rst README.rst
-%{_bindir}/foobar
-%{python_sitelib}/foobar
-%{python_sitelib}/foobar-%{version}-py%{python_version}.egg-info
-
-%changelog