* git-suse: Add Alt-commit tag for duplicate commit ids * git-fixes: Don't report merge commits OBS-URL: https://build.opensuse.org/package/show/Kernel:tools/git-fixes?expand=0&rev=6
61 lines
1.7 KiB
RPMSpec
61 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package git-fixes
|
|
#
|
|
# Copyright (c) 2018 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
# See also http://en.opensuse.org/openSUSE:Specfile_guidelines
|
|
|
|
Name: git-fixes
|
|
Version: 0.1+20210212
|
|
Release: 0
|
|
Summary: Easily find upstream fixes for downstream projects
|
|
License: GPL-2.0
|
|
Group: Development/Tools/Other
|
|
Url: https://github.com/joergroedel/git-fixes
|
|
Source0: git-fixes-%{version}.tar.xz
|
|
BuildRequires: cmake
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: git
|
|
BuildRequires: libgit2-devel >= 0.22
|
|
BuildRequires: make
|
|
BuildRequires: openssl-devel
|
|
BuildRequires: zlib-devel
|
|
|
|
%description
|
|
Git-fixes is a tool to find upstream fixes for downstream projects. It scans
|
|
the upstream git history and looks for Fixes-tags that reference commits that
|
|
got backported into the downstream project.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
EXTRA_CXXFLAGS=$RPM_OPT_FLAGS
|
|
export EXTRA_CXXFLAGS
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
mkdir -p %{buildroot}/usr/bin/
|
|
make install INSTALL_DIR=%{buildroot}/usr/bin/
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%{_bindir}/git-fixes
|
|
%{_bindir}/git-suse
|
|
%{_bindir}/git-who
|
|
|
|
%changelog
|