summaryrefslogtreecommitdiffstats
path: root/package.spec
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2022-05-31 11:48:12 +0200
committerMatěj Cepl <mcepl@cepl.eu>2022-05-31 11:48:12 +0200
commit976a523fb87ef25d5be2c4b782d9c0368ae9f49f (patch)
treeff66e9dedb9860b5c620f7bacaf2e34589c1a75c /package.spec
parent5bca2e56fe4c411f4380efacd67496735eb0d043 (diff)
downloadopenSUSEConf2022-976a523fb87ef25d5be2c4b782d9c0368ae9f49f.tar.gz
Notes work.
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