+git-2.11.1
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/cgit?expand=0&rev=31
This commit is contained in:
parent
dd71560c19
commit
79cf7595e4
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 11 17:56:42 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update bundled git to 2.11.1
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 19 15:20:32 UTC 2017 - vsvecova@suse.com
|
Thu Jan 19 15:20:32 UTC 2017 - vsvecova@suse.com
|
||||||
|
|
||||||
|
32
cgit.spec
32
cgit.spec
@ -16,7 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define git_version 2.11.0
|
%define git_version 2.11.1
|
||||||
Name: cgit
|
Name: cgit
|
||||||
Version: 1.1
|
Version: 1.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -25,10 +25,10 @@ License: GPL-2.0
|
|||||||
Group: Development/Tools/Version Control
|
Group: Development/Tools/Version Control
|
||||||
Url: http://git.zx2c4.com/cgit/
|
Url: http://git.zx2c4.com/cgit/
|
||||||
#Git-Clone: https://git.zx2c4.com/cgit
|
#Git-Clone: https://git.zx2c4.com/cgit
|
||||||
Source: https://git.zx2c4.com/cgit/snapshot/%{name}-%{version}.tar.xz
|
Source: https://git.zx2c4.com/cgit/snapshot/%name-%version.tar.xz
|
||||||
Source2: https://www.kernel.org/pub/software/scm/git/git-%{git_version}.tar.xz
|
Source2: https://www.kernel.org/pub/software/scm/git/git-%git_version.tar.xz
|
||||||
Source3: https://www.kernel.org/pub/software/scm/git/git-%{git_version}.tar.sign
|
Source3: https://www.kernel.org/pub/software/scm/git/git-%git_version.tar.sign
|
||||||
Source4: %{name}.keyring
|
Source4: %name.keyring
|
||||||
Source9: cgitrc
|
Source9: cgitrc
|
||||||
Patch0: cgit-optflags.diff
|
Patch0: cgit-optflags.diff
|
||||||
Patch1: cgit-built-with-git-v2.11.0.patch
|
Patch1: cgit-built-with-git-v2.11.0.patch
|
||||||
@ -39,7 +39,7 @@ BuildRequires: libopenssl-devel
|
|||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
BuildRequires: libzip-devel
|
BuildRequires: libzip-devel
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %_tmppath/%name-%version-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is an attempt to create a fast web interface for the Git SCM, using a
|
This is an attempt to create a fast web interface for the Git SCM, using a
|
||||||
@ -50,28 +50,28 @@ builtin cache to decrease server I/O pressure.
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
rm -rf git
|
rm -rf git
|
||||||
ln -s git-%{git_version} git
|
ln -s git-%git_version git
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make V=1 prefix="%{_prefix}" %{?_smp_mflags}
|
make V=1 prefix="%_prefix" %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install install-man DESTDIR=%{buildroot} prefix="%{_prefix}" \
|
make install install-man DESTDIR=%buildroot prefix="%_prefix" \
|
||||||
CGIT_SCRIPT_PATH="/srv/www/htdocs/cgit"
|
CGIT_SCRIPT_PATH="/srv/www/htdocs/cgit"
|
||||||
|
|
||||||
mkdir -p "%{buildroot}/srv/www/cgi-bin/cgit/"
|
mkdir -p "%buildroot/srv/www/cgi-bin/cgit/"
|
||||||
mv %{buildroot}/srv/www/{htdocs,cgi-bin}/cgit/cgit.cgi
|
mv %buildroot/srv/www/{htdocs,cgi-bin}/cgit/cgit.cgi
|
||||||
|
|
||||||
mkdir -p "%{buildroot}/%{_sysconfdir}"
|
mkdir -p "%buildroot/%_sysconfdir"
|
||||||
cp %{SOURCE9} "%{buildroot}/%{_sysconfdir}/cgitrc"
|
cp %SOURCE9 "%buildroot/%_sysconfdir/cgitrc"
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README COPYING
|
%doc README COPYING
|
||||||
%{_mandir}/man5/cgitrc.5%{ext_man}
|
%_mandir/man5/cgitrc.5%ext_man
|
||||||
/srv/www/cgi-bin/cgit/
|
/srv/www/cgi-bin/cgit/
|
||||||
/srv/www/htdocs/cgit/
|
/srv/www/htdocs/cgit/
|
||||||
%{_prefix}/lib/cgit/
|
%_prefix/lib/cgit/
|
||||||
%config(noreplace) %{_sysconfdir}/cgitrc
|
%config(noreplace) %_sysconfdir/cgitrc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Binary file not shown.
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7e7e8d69d494892373b87007674be5820a4bc1ef596a0117d03ea3169119fd0b
|
|
||||||
size 4197984
|
|
BIN
git-2.11.1.tar.sign
Normal file
BIN
git-2.11.1.tar.sign
Normal file
Binary file not shown.
3
git-2.11.1.tar.xz
Normal file
3
git-2.11.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c0a779cae325d48a1d5ba08b6ee1febcc31d0657a6da01fd1dec1c6e10976415
|
||||||
|
size 4208132
|
Loading…
Reference in New Issue
Block a user