Accepting request 254455 from home:jengelh:dev
- Enable parallel build OBS-URL: https://build.opensuse.org/request/show/254455 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/cgit?expand=0&rev=19
This commit is contained in:
parent
e085371370
commit
e54f2103b4
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 6 21:16:48 UTC 2014 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Remove ancient specfile tags/sections
|
||||||
|
- Enable parallel build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 5 17:05:04 CEST 2013 - tiwai@suse.de
|
Fri Jul 5 17:05:04 CEST 2013 - tiwai@suse.de
|
||||||
|
|
||||||
|
13
cgit.spec
13
cgit.spec
@ -15,18 +15,16 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
%define git_version 1.7.6.4
|
%define git_version 1.7.6.4
|
||||||
|
|
||||||
Name: cgit
|
Name: cgit
|
||||||
|
Version: 0.9.1
|
||||||
|
Release: 0
|
||||||
|
Summary: A web frontend for git repositories
|
||||||
Url: http://git.zx2c4.com/cgit/
|
Url: http://git.zx2c4.com/cgit/
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
AutoReqProv: on
|
|
||||||
Version: 0.9.1
|
|
||||||
Release: 7
|
|
||||||
Summary: A web frontend for git repositories
|
|
||||||
Source0: %{name}-%{version}.tar.xz
|
Source0: %{name}-%{version}.tar.xz
|
||||||
Source1: git-%{git_version}.tar.gz
|
Source1: git-%{git_version}.tar.gz
|
||||||
Source2: cgitrc
|
Source2: cgitrc
|
||||||
@ -61,7 +59,7 @@ rm -rf git
|
|||||||
mv git-%{git_version} git
|
mv git-%{git_version} git
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make V=1
|
make V=1 %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR="%{buildroot}" CGIT_SCRIPT_PATH=/srv/www/htdocs/cgit
|
make install DESTDIR="%{buildroot}" CGIT_SCRIPT_PATH=/srv/www/htdocs/cgit
|
||||||
@ -73,9 +71,6 @@ mv "%{buildroot}"/srv/www/{htdocs,cgi-bin}/cgit/cgit.cgi
|
|||||||
mkdir -p "%{buildroot}"/etc
|
mkdir -p "%{buildroot}"/etc
|
||||||
cp %{SOURCE2} "%{buildroot}"/etc/cgitrc
|
cp %{SOURCE2} "%{buildroot}"/etc/cgitrc
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README COPYING
|
%doc README COPYING
|
||||||
|
Loading…
Reference in New Issue
Block a user