Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-setuptools-git-versioning for
openSUSE:Factory checked in at 2022-11-09 12:57:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-setuptools-git-versioning (Old)
and /work/SRC/openSUSE:Factory/.python-setuptools-git-versioning.new.1597
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-setuptools-git-versioning"
Wed Nov 9 12:57:30 2022 rev:2 rq:1034610 version:1.12.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-setuptools-git-versioning/python-setuptools-git-versioning.changes
2022-11-01 13:43:09.596084949 +0100
+++
/work/SRC/openSUSE:Factory/.python-setuptools-git-versioning.new.1597/python-setuptools-git-versioning.changes
2022-11-09 12:58:04.188562496 +0100
@@ -1,0 +2,5 @@
+Tue Nov 8 13:52:04 UTC 2022 - Andreas Schwab <[email protected]>
+
+- Simplify dirty version workaround to avoid modifying repo history
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-setuptools-git-versioning.spec ++++++
--- /var/tmp/diff_new_pack.wsdeGQ/_old 2022-11-09 12:58:04.676565247 +0100
+++ /var/tmp/diff_new_pack.wsdeGQ/_new 2022-11-09 12:58:04.684565292 +0100
@@ -24,8 +24,8 @@
URL: https://setuptools-git-versioning.readthedocs.io
# no sdist on PyPI, needs full git metadata for bootstrap, run osc service
runall to update
Source: setuptools-git-versioning-%{version}.tar.xz
-BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module pip}
+BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -65,13 +65,8 @@
%prep
%setup -q -n setuptools-git-versioning-%{version}
# avoid dirty version
-echo _build* >> .gitignore
-echo _current_flavor >> .gitignore
-git add .gitignore
-git config user.email "[email protected]"
-git config user.name "abuild on obs"
-git commit -m "stay clean"
-git tag --force v%{version}
+echo '_build*' >> .git/info/exclude
+echo _current_flavor >> .git/info/exclude
%build
%pyproject_wheel