Hello community, here is the log from the commit of package sparse for openSUSE:Factory checked in at 2016-05-17 17:15:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sparse (Old) and /work/SRC/openSUSE:Factory/.sparse.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sparse" Changes: -------- --- /work/SRC/openSUSE:Factory/sparse/sparse.changes 2015-11-11 10:30:05.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.sparse.new/sparse.changes 2016-05-17 17:15:05.000000000 +0200 @@ -1,0 +2,9 @@ +Sun May 8 11:08:42 UTC 2016 - [email protected] + +- Change versioning to include latest release - 0.5+git.20150208 +- Enable sparse-llvm +- Update dependencies +- Small spec file cleanup with spec-cleaner +- Make building more verbose + +------------------------------------------------------------------- Old: ---- sparse-20150124.tar.xz New: ---- sparse-0.5+git.20150208.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sparse.spec ++++++ --- /var/tmp/diff_new_pack.pfVc5G/_old 2016-05-17 17:15:06.000000000 +0200 +++ /var/tmp/diff_new_pack.pfVc5G/_new 2016-05-17 17:15:06.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package sparse # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -17,21 +17,27 @@ Name: sparse +Version: 0.5+git.20150208 +Release: 0 Summary: A semantic parser of source files License: MIT Group: Development/Tools/Building -Version: 20150124 -Release: 0 Url: https://sparse.wiki.kernel.org/index.php/Main_Page Source: sparse-%{version}.tar.xz - -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc -BuildRequires: gtk2-devel -BuildRequires: libxml2-devel +BuildRequires: gcc-c++ BuildRequires: make -BuildRequires: pkg-config +BuildRequires: ncurses-devel +BuildRequires: pkgconfig BuildRequires: xz +BuildRequires: pkgconfig(gtk+-2.0) +BuildRequires: pkgconfig(libxml-2.0) +Provides: %{name} = 20150204 +Obsoletes: %{name} = 20150204 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} > 1320 +BuildRequires: llvm-devel +%endif %description Sparse is a semantic parser of source files: it's neither a compiler @@ -50,46 +56,71 @@ Sparse is primarily used in the development and debugging of the Linux kernel. -%package -n sparse-devel +%package devel Summary: Devel files for sparse Group: Development/Libraries/C and C++ -%description -n sparse-devel +%description devel Development headers and libraries for sparse. -%package -n sparse-inspect +%package inspect Summary: Inspect binary from sparse Group: Development/Libraries/C and C++ -%description -n sparse-inspect +%description inspect test-inspect is a gtk frontend for sparse. +%package llvm +Summary: LLVM backed sparse +Group: Development/Libraries/C and C++ + +%description llvm +LLVM backend for sparse, including sparsec + %prep %setup -q %build -make %{?_smp_mflags} PREFIX=%{_prefix} LIBDIR=%{_libdir} MANDIR=%{_mandir} \ - PKGCONFIGDIR=%{_datadir}/pkgconfig CFLAGS="%{optflags}" +make \ + %{?_smp_mflags} \ + PREFIX=%{_prefix} \ + LIBDIR=%{_libdir} \ + MANDIR=%{_mandir} \ + PKGCONFIGDIR=%{_datadir}/pkgconfig \ + CFLAGS="%{optflags}" \ + V=1 %install -%{makeinstall} \ - PREFIX=%{_prefix} LIBDIR=%{_libdir} MANDIR=%{_mandir} \ - PKGCONFIGDIR=%{_datadir}/pkgconfig +make \ + %{?_smp_mflags} \ + DESTDIR=%{buildroot} \ + PREFIX=%{_prefix} \ + LIBDIR=%{_libdir} \ + MANDIR=%{_mandir} \ + PKGCONFIGDIR=%{_datadir}/pkgconfig \ + install %files %defattr(-,root,root) %doc LICENSE README FAQ -%{_mandir}/man?/cgcc.1.gz -%{_mandir}/man?/sparse.1.gz -%{_bindir}/c2xml %{_bindir}/cgcc +%{_bindir}/c2xml %{_bindir}/sparse +%{_mandir}/man1/cgcc.1%{ext_man} +%{_mandir}/man1/sparse.1%{ext_man} + +%if 0%{?suse_version} > 1320 +%files llvm +%defattr(-,root,root) +%{_bindir}/sparsec +%{_bindir}/sparse-llvm +%endif -%files -n sparse-inspect +%files inspect %defattr(-,root,root) %{_bindir}/test-inspect -%files -n sparse-devel +%files devel %defattr(-,root,root) %{_includedir}/sparse %{_libdir}/libsparse.a ++++++ _service ++++++ --- /var/tmp/diff_new_pack.pfVc5G/_old 2016-05-17 17:15:06.000000000 +0200 +++ /var/tmp/diff_new_pack.pfVc5G/_new 2016-05-17 17:15:06.000000000 +0200 @@ -2,8 +2,9 @@ <service mode="localonly" name="tar_scm"> <param name="url">git://git.kernel.org/pub/scm/devel/sparse/sparse.git</param> <param name="scm">git</param> + <param name="changesgenerate">enable</param> <param name="filename">sparse</param> - <param name="versionformat">%ad</param> + <param name="versionformat">0.5+git.%cd</param> </service> <service mode="localonly" name="recompress"> <param name="file">*.tar</param>
