summaryrefslogtreecommitdiffstats
path: root/python-merge3.spec
diff options
context:
space:
mode:
authorOndřej Pohořelský <opohorel@redhat.com>2023-07-17 17:17:10 +0200
committerOndřej Pohořelský <opohorel@redhat.com>2023-07-17 17:17:10 +0200
commit41473ce659dbde769261d23cb531b0134a37b860 (patch)
tree92faf2258a0274e3726550bae5c24eb47ab09c23 /python-merge3.spec
downloadpython3-merge3-master.tar.gz
python3-merge3-master.tar.xz
python3-merge3-master.zip
Diffstat (limited to 'python-merge3.spec')
-rw-r--r--python-merge3.spec56
1 files changed, 56 insertions, 0 deletions
diff --git a/python-merge3.spec b/python-merge3.spec
new file mode 100644
index 0000000..08e4349
--- /dev/null
+++ b/python-merge3.spec
@@ -0,0 +1,56 @@
+Name: python-merge3
+Version: 0.0.13
+Release: %autorelease
+Summary: Python implementation of 3-way merge
+
+# Check if the automatically generated License and its spelling is correct for Fedora
+# https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/
+License: GPL-2.0-or-later
+URL: https://www.breezy-vcs.org/
+Source: %{pypi_source merge3}
+
+BuildArch: noarch
+BuildRequires: python3-devel
+
+
+# Fill in the actual package description to submit package to Fedora
+%global _description %{expand:
+A Python implementation of 3-way merge of texts.}
+
+
+%description %_description
+
+%package -n python3-merge3
+Summary: %{summary}
+
+%description -n python3-merge3 %_description
+
+
+%prep
+%autosetup -p1 -n merge3-%{version}
+
+
+%generate_buildrequires
+%pyproject_buildrequires
+
+
+%build
+%pyproject_wheel
+
+
+%install
+%pyproject_install
+# For official Fedora packages, including files with '*' +auto is not allowed
+# Replace it with a list of relevant Python modules/globs and list extra files in %%files
+%pyproject_save_files '*' +auto
+
+
+%check
+%pyproject_check_import
+
+
+%files -n python3-merge3 -f %{pyproject_files}
+
+
+%changelog
+%autochangelog \ No newline at end of file