Accepting request 1034610 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1034610 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools-git-versioning?expand=0&rev=2
This commit is contained in:
commit
be882ce98c
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 8 13:52:04 UTC 2022 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
- Simplify dirty version workaround to avoid modifying repo history
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 31 12:22:11 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
Mon Oct 31 12:22:11 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -24,8 +24,8 @@ License: MIT
|
|||||||
URL: https://setuptools-git-versioning.readthedocs.io
|
URL: https://setuptools-git-versioning.readthedocs.io
|
||||||
# no sdist on PyPI, needs full git metadata for bootstrap, run osc service runall to update
|
# no sdist on PyPI, needs full git metadata for bootstrap, run osc service runall to update
|
||||||
Source: setuptools-git-versioning-%{version}.tar.xz
|
Source: setuptools-git-versioning-%{version}.tar.xz
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@ -65,13 +65,8 @@ version number according PEP440.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n setuptools-git-versioning-%{version}
|
%setup -q -n setuptools-git-versioning-%{version}
|
||||||
# avoid dirty version
|
# avoid dirty version
|
||||||
echo _build* >> .gitignore
|
echo '_build*' >> .git/info/exclude
|
||||||
echo _current_flavor >> .gitignore
|
echo _current_flavor >> .git/info/exclude
|
||||||
git add .gitignore
|
|
||||||
git config user.email "abuild@obs.local"
|
|
||||||
git config user.name "abuild on obs"
|
|
||||||
git commit -m "stay clean"
|
|
||||||
git tag --force v%{version}
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
Loading…
Reference in New Issue
Block a user