Hello community, here is the log from the commit of package libyajl for openSUSE:Factory checked in at 2015-04-28 20:42:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libyajl (Old) and /work/SRC/openSUSE:Factory/.libyajl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libyajl" Changes: -------- --- /work/SRC/openSUSE:Factory/libyajl/libyajl.changes 2014-11-06 16:50:22.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libyajl.new/libyajl.changes 2015-04-28 20:42:47.000000000 +0200 @@ -1,0 +2,7 @@ +Sun Apr 26 13:12:49 UTC 2015 - [email protected] + +- Use correct url for download +- Add dependency on doxygen for doc generation +- Cleanup spec file with spec-clener + +------------------------------------------------------------------- Old: ---- lloyd-yajl-2.1.0-0-g66cb08c.tar.gz New: ---- 2.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libyajl.spec ++++++ --- /var/tmp/diff_new_pack.rFNmyf/_old 2015-04-28 20:42:48.000000000 +0200 +++ /var/tmp/diff_new_pack.rFNmyf/_new 2015-04-28 20:42:48.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package libyajl # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -16,59 +16,34 @@ # +%define soname 2 Name: libyajl Version: 2.1.0 Release: 0 -# -# NB, upstream does not provide pre-built tar.gz downloads. Instead -# they make you use the 'on the fly' generated tar.gz from GITHub's -# web interface -# -# The Source for any version is obtained by a URL -# -# http://github.com/lloyd/yajl/tarball/1.0.7 -# -# Which causes a download of a archive named after -# the GIT hash corresponding to the version tag -# -# eg lloyd-yajl-45a1bdb.tar.gz -# -# NB even though the tar.gz is generated on the fly by GITHub it -# will always have identical md5sum -# -# So for new versions, update 'githash' to match the hash of the -# GIT tag associated with updated 'Version:' field just above -%global githash 66cb08c - -%define soname 2 Summary: Yet Another JSON Library License: ISC Group: System/Libraries -# http://download.github.com/lloyd-yajl-%{version}-0-g%{githash}.tar.gz -Source: lloyd-yajl-%{version}-0-g%{githash}.tar.gz +Url: http://lloyd.github.com/yajl/ +Source0: https://github.com/lloyd/yajl/archive/%{version}.tar.gz Source1: baselibs.conf Source2: json_reformat.1 Source3: json_verify.1 +Source99: %{name}-rpmlintrc Patch1: libyajl-optflags.patch Patch2: libyajl-lib_suffix.patch -Source99: %{name}-rpmlintrc -Url: http://lloyd.github.com/yajl/ -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: bison BuildRequires: cmake +BuildRequires: doxygen BuildRequires: flex BuildRequires: gcc-c++ -BuildRequires: glibc-devel -BuildRequires: libstdc++-devel -BuildRequires: make BuildRequires: pkg-config +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description YAJL is a small event-driven (SAX-style) JSON parser written in ANSI C, and a small validating JSON generator. %package -n %{name}%{soname} - Summary: Yet Another JSON Library Group: System/Libraries @@ -77,7 +52,6 @@ small validating JSON generator. %package -n %{name}-devel - Summary: Yet Another JSON Library (Development Environment) Group: Development/Libraries/C and C++ Requires: %{name}%{soname} = %{version} @@ -90,7 +64,6 @@ against %{name}. %package -n %{name}-devel-static - Summary: Yet Another JSON Library (Static Library) Group: Development/Libraries/C and C++ Requires: %{name}-devel = %{version} @@ -103,7 +76,6 @@ against %{name}. %package -n yajl - Summary: Yet Another JSON Library Tools Group: Productivity/Text/Utilities Requires: %{name}%{soname} = %{version} @@ -115,21 +87,21 @@ This package provides a few command-line utilities for processing JSON files. %prep -%setup -q -n "lloyd-yajl-%{githash}" +%setup -q -n yajl-%{version} %patch1 -p1 -b .optflags %patch2 -p1 -b .lib_suffix %build %cmake -%{__make} %{_smp_mflags} +make %{?_smp_mflags} %install %cmake_install -install -d -m 0755 $RPM_BUILD_ROOT%{_mandir}/man1 -install -m644 %SOURCE2 %SOURCE3 $RPM_BUILD_ROOT/%{_mandir}/man1 +install -d -m 0755 %{buildroot}%{_mandir}/man1 +install -m644 %{SOURCE2} %{SOURCE3} %{buildroot}/%{_mandir}/man1 %check -make test +make %{?_smp_mflags} test %post -n %{name}%{soname} -p /sbin/ldconfig @@ -153,8 +125,8 @@ %files -n yajl %defattr(-,root,root) -%doc %{_mandir}/man1/json_reformat.1* -%doc %{_mandir}/man1/json_verify.1* +%{_mandir}/man1/json_reformat.1* +%{_mandir}/man1/json_verify.1* %{_bindir}/json_reformat %{_bindir}/json_verify ++++++ lloyd-yajl-2.1.0-0-g66cb08c.tar.gz -> 2.1.0.tar.gz ++++++
