diff --git a/cscope.changes b/cscope.changes index 8a85141..2221121 100644 --- a/cscope.changes +++ b/cscope.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 16 06:29:00 UTC 2020 - Martin Pluskal + +- Fix download url +- Clean up spec file with spec-cleaner + ------------------------------------------------------------------- Fri Mar 13 07:55:40 UTC 2020 - Jiri Slaby diff --git a/cscope.spec b/cscope.spec index 5692bbf..3937160 100644 --- a/cscope.spec +++ b/cscope.spec @@ -23,7 +23,7 @@ Summary: Interactive Tool for Browsing C Source Code License: BSD-3-Clause Group: Development/Tools/Navigators URL: http://cscope.sourceforge.net/ -Source: http://sourceforge.net/projects/cscope/files/cscope/%{version}/%{name}-%{version}.tar.gz +Source: http://sourceforge.net/projects/cscope/files/cscope/v%{version}/%{name}-%{version}.tar.gz Patch1: cscope-null.patch Patch2: cscope-15.7-gcc-warnings.patch Patch3: cscope-15.7-vpath.patch @@ -35,7 +35,6 @@ BuildRequires: bison BuildRequires: flex BuildRequires: ncurses-devel BuildRequires: pkgconfig -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Cscope is an interactive, screen-oriented tool that allows the user to @@ -53,25 +52,25 @@ browse through C source code files for specified elements of code. %build %configure -make %{?_smp_mflags} +%make_build %install -mkdir -p %{buildroot}%{_bindir} -mkdir -p %{buildroot}%{_mandir}/man1 -install -m 755 src/cscope %{buildroot}%{_bindir}/cscope -install -m 644 doc/cscope.1 %{buildroot}%{_mandir}/man1/cscope.1 -install -m 755 contrib/xcscope/cscope-indexer %{buildroot}%{_bindir}/cscope-indexer +install -Dpm 0755 src/cscope \ + %{buildroot}%{_bindir}/cscope +install -Dpm 0644 doc/cscope.1 \ + %{buildroot}%{_mandir}/man1/cscope.1 +install -Dpm 0755 contrib/xcscope/cscope-indexer \ + %{buildroot}%{_bindir}/cscope-indexer pushd contrib %make_install popd %files -%defattr(-,root,root) -%doc TODO ChangeLog AUTHORS README NEWS %license COPYING -%{_mandir}/man1/cscope.1%{ext_man} +%doc TODO ChangeLog AUTHORS README NEWS %{_bindir}/cscope %{_bindir}/ocs %{_bindir}/cscope-indexer +%{_mandir}/man1/cscope.1%{?ext_man} %changelog