Hello community, here is the log from the commit of package splint for openSUSE:Factory checked in at 2017-07-25 11:41:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/splint (Old) and /work/SRC/openSUSE:Factory/.splint.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "splint" Tue Jul 25 11:41:23 2017 rev:17 rq:512374 version:3.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/splint/splint.changes 2011-09-23 12:46:46.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.splint.new/splint.changes 2017-07-25 11:41:36.306102242 +0200 @@ -1,0 +2,7 @@ +Mon Jul 24 22:06:39 UTC 2017 - mplus...@suse.com + +- Cleanup spec file with spec-cleaner +- Use url for source +- Add splint-rpmlintrc + +------------------------------------------------------------------- Old: ---- splint-3.1.2.src.tar.bz2 New: ---- splint-3.1.2.src.tgz splint-rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ splint.spec ++++++ --- /var/tmp/diff_new_pack.GP1dtG/_old 2017-07-25 11:41:36.894019238 +0200 +++ /var/tmp/diff_new_pack.GP1dtG/_new 2017-07-25 11:41:36.898018674 +0200 @@ -1,7 +1,7 @@ # -# spec file for package splint (Version 3.1.2) +# spec file for package splint # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,58 +15,45 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: splint -BuildRequires: flex -License: GPL-2.0+ -Group: Development/Languages/C and C++ -AutoReqProv: on -Provides: lclint -Obsoletes: lclint Version: 3.1.2 -Release: 77 +Release: 0 Summary: A tool for statically checking C programs +License: GPL-2.0+ +Group: Development/Languages/C and C++ Url: http://www.splint.org/ -Source: %{name}-%{version}.src.tar.bz2 -Patch: %{name}-%{version}-fixes.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source0: http://www.splint.org/downloads/splint-%{version}.src.tgz +Source1: %{name}-rpmlintrc +Patch0: %{name}-3.1.2-fixes.patch +BuildRequires: flex %description -With minimal effort, LCLint can be used as a better lint. If -additional effort is invested adding annotations to programs, LCLint -can perform stronger checks than can be done by any standard lint. - - - -Authors: --------- - David Evans <ev...@virginia.edu> +With minimal effort, LCLint can be used as a better lint. If additional +effort is invested adding annotations to programs, LCLint can perform +stronger checks than can be done by any standard lint. %prep -%setup -%patch -p1 +%setup -q +%patch0 -p1 %build %configure -make -make test +make %{?_smp_mflags} LDFLAGS="-lfl" V=1 + +%check +make %{?_smp_mflags} test %install -rm -rf $RPM_BUILD_ROOT -make "DESTDIR=$RPM_BUILD_ROOT" install +%make_install rm -f doc/html/{header,footer}.html -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(644,root,root,755) %doc README doc/manual.pdf doc/html doc/manual.css %{_datadir}/splint/ %{_mandir}/man1/* %defattr(755,root,root) -/usr/bin/* +%{_bindir}/* %changelog ++++++ splint-rpmlintrc ++++++ addFilter("splint.* devel-file-in-non-devel-package")