Accepting request 882784 from home:mcepl:branches:devel:tools:scm
- Remove single-package spec, this is just a regular application which happens to be written in Python, not a Python library. OBS-URL: https://build.opensuse.org/request/show/882784 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/git-deps?expand=0&rev=7
This commit is contained in:
parent
721eee61ad
commit
748ee34d44
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 3 09:34:59 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Remove single-package spec, this is just a regular application which
|
||||||
|
happens to be written in Python, not a Python library.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 29 15:48:48 UTC 2020 - Bruce Rogers <brogers@suse.com>
|
Thu Oct 29 15:48:48 UTC 2020 - Bruce Rogers <brogers@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package git-deps
|
# spec file for package git-deps
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -28,20 +28,19 @@ URL: https://github.com/aspiers/git-deps
|
|||||||
Source: %{name}-%{version}.tar.xz
|
Source: %{name}-%{version}.tar.xz
|
||||||
Patch0: dont-use-st-markdown.patch
|
Patch0: dont-use-st-markdown.patch
|
||||||
Patch1: Fix-issue-with-unbuffered-text-I-O-under-python3.patch
|
Patch1: Fix-issue-with-unbuffered-text-I-O-under-python3.patch
|
||||||
BuildRequires: %{python_module pip}
|
|
||||||
BuildRequires: %{python_module pygit2}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: %{python_module six}
|
|
||||||
BuildRequires: %{python_module wheel}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-pygit2
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-six
|
||||||
|
BuildRequires: python3-wheel
|
||||||
Requires: python-pygit2
|
Requires: python-pygit2
|
||||||
# for html subpackage
|
# for html subpackage
|
||||||
Requires: python-Flask
|
Requires: python3-Flask
|
||||||
#Requires: nodejs-browserify # broken/missing
|
#Requires: nodejs-browserify # broken/missing
|
||||||
Requires: npm
|
Requires: npm
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Tool to analyze git dependencies
|
Tool to analyze git dependencies
|
||||||
@ -56,17 +55,16 @@ Group: Development/Tools/Version Control
|
|||||||
Documentation for git-deps.
|
Documentation for git-deps.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%autosetup -p1 -n %{name}-%{version}
|
||||||
%autopatch -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
python3 -s setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
python3 -s setup.py install -O1 --skip-build --force --root %{buildroot} --prefix %{_prefix}
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{python_sitelib}
|
||||||
|
|
||||||
%files %{python_files}
|
%files
|
||||||
%{_bindir}/git-deps
|
%{_bindir}/git-deps
|
||||||
%{_bindir}/git-fixup
|
%{_bindir}/git-fixup
|
||||||
%{_bindir}/gitfile-handler
|
%{_bindir}/gitfile-handler
|
||||||
|
Loading…
Reference in New Issue
Block a user