diff --git a/generate-tarball.sh b/generate-tarball.sh deleted file mode 100644 index 736e725..0000000 --- a/generate-tarball.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash -set -e - -vers="2.0" - -while getopts v:h opt ; do - case $opt in - v) vers="$OPTARG" ;; - *) echo "Usage: $0 [-v RTAGS-VERSION]" ; exit 1; ;; - esac -done - -msg() { - echo "[*] $*" -} - -dir="rtags-$vers" -tag="v$vers" -tarball="$dir.tar.gz" - -msg "cleaning existing repo/tarball" -rm -rf "$dir" "$tarball" - -msg "cloning repo" -git clone https://github.com/Andersbakken/rtags.git "$dir" - -msg "init submodules" -cd "$dir" -git checkout "$tag" -git submodule init -git submodule update -cd .. - -msg "make tarball" -find "$dir" -type f | grep -v '/.git' | xargs -d '\n' tar cfvz "$tarball" - -msg "remove repo" -rm -rf "$dir" - -msg "done!" diff --git a/rtags-2.0.20150915.tar.xz b/rtags-2.0.20150915.tar.xz deleted file mode 100644 index f80c335..0000000 --- a/rtags-2.0.20150915.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ecf4122ee1593d65630377ed64399b318654419d6869669f2c46ad87d553e643 -size 1148160 diff --git a/rtags-2.0.20151109.tar.xz b/rtags-2.0.20151109.tar.xz new file mode 100644 index 0000000..ceffd50 --- /dev/null +++ b/rtags-2.0.20151109.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1cf8dd247dbe7b91bd8db1b19bdd9a7779d03722e2a2d443c407f80078d944c +size 1161244 diff --git a/rtags-2.0.tar.gz b/rtags-2.0.tar.gz deleted file mode 100644 index 2e70026..0000000 --- a/rtags-2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9068070bf30ba42dee392541de16c37297ee2ea886f691ee6922963fb1ed2857 -size 1272524 diff --git a/rtags.changes b/rtags.changes index b310fad..e111a0b 100644 --- a/rtags.changes +++ b/rtags.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Nov 9 21:52:08 UTC 2015 - sleep_walker@opensuse.org + +- bump to new git snapshot 83a40d0, 2015-11-09 + - it fixes missing librct problem +- wipe unused files + generate-tarball.sh + rtags-2.0.tar.gz +- add emacs-nox and gcc-c++ into dependencies + ------------------------------------------------------------------- Thu Sep 17 08:53:59 UTC 2015 - sleep_walker@opensuse.org diff --git a/rtags.spec b/rtags.spec index c0d4389..faf101c 100644 --- a/rtags.spec +++ b/rtags.spec @@ -17,29 +17,21 @@ # See also http://en.opensuse.org/openSUSE:Specfile_guidelines - Name: rtags -Version: 2.0.20150915 +Version: 2.0.20151109 Release: 0 Summary: Clang based source code indexer License: GPL-3.0+ Group: Development/Tools/Navigators Url: https://github.com/Andersbakken/rtags - -# github release archives don't include rct (git submodule) -# you need to: -# - get the repo -# - checkout the right version tag -# - init & update the repo git submodule -# - make a tarball out of that -# See generate-tarball.sh Source0: %{name}-%{version}.tar.xz - BuildRequires: cmake -BuildRequires: ncurses-devel -BuildRequires: llvm-devel -BuildRequires: llvm-clang-devel +BuildRequires: emacs-nox +BuildRequires: gcc-c++ BuildRequires: libopenssl-devel +BuildRequires: llvm-clang-devel +BuildRequires: llvm-devel +BuildRequires: ncurses-devel %description Rtags is Clang based source file indexer supporting C/C++/Objective-C(++) code. @@ -61,16 +53,16 @@ make %{?_smp_mflags} %install %cmake_install mkdir -p %{buildroot}%{_sitedir} %{buildroot}%{_scriptdir} -install -t %{buildroot}%{_scriptdir} bin/*.sh - +install -m 0755 -t %{buildroot}%{_scriptdir} bin/*.sh +chmod 0755 %{buildroot}%{_bindir}/gcc-rtags-wrapper.sh %files -/usr/bin/rc -/usr/bin/rdm -/usr/bin/rp -/usr/share/man/man7/rc.7.gz -/usr/share/man/man7/rdm.7.gz +%defattr(-,root,root) +%{_bindir}/* +%{_mandir}/man7/rc.7.gz +%{_mandir}/man7/rdm.7.gz %{_sitedir}/rtags %{_scriptdir} %doc LICENSE.txt README.org + %changelog