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:
Takashi Iwai 2014-10-16 19:36:22 +00:00 committed by Git OBS Bridge
parent e085371370
commit e54f2103b4
2 changed files with 10 additions and 9 deletions

View File

@ -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

View File

@ -15,18 +15,16 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%define git_version 1.7.6.4
Name: cgit
Version: 0.9.1
Release: 0
Summary: A web frontend for git repositories
Url: http://git.zx2c4.com/cgit/
License: GPL-2.0
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
Source1: git-%{git_version}.tar.gz
Source2: cgitrc
@ -61,7 +59,7 @@ rm -rf git
mv git-%{git_version} git
%build
make V=1
make V=1 %{?_smp_mflags}
%install
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
cp %{SOURCE2} "%{buildroot}"/etc/cgitrc
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc README COPYING