Mailinglist Archive: opensuse-commit (914 mails)

< Previous Next >
commit libyajl for openSUSE:Factory

Hello community,

here is the log from the commit of package libyajl for openSUSE:Factory
checked in at Mon Jun 6 16:26:59 CEST 2011.



--------
--- libyajl/libyajl.changes 2011-04-08 22:43:58.000000000 +0200
+++ /mounts/work_src_done/STABLE/libyajl/libyajl.changes 2011-04-14
00:13:54.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Apr 13 10:43:49 MDT 2011 - jfehlig@xxxxxxxxxx
+
+- Add filters to rpmlintrc
+- spec file: Document githash usage in tarbal name
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libyajl.spec ++++++
--- /var/tmp/diff_new_pack.8YSQPw/_old 2011-06-06 16:26:09.000000000 +0200
+++ /var/tmp/diff_new_pack.8YSQPw/_new 2011-06-06 16:26:09.000000000 +0200
@@ -15,16 +15,37 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

+# norootforbuild


Name: libyajl
Version: 1.0.11
-Release: 5
+Release: 7
+#
+# 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 f4baae0
+
%define soname 1
-%define tag f4baae0
Summary: Yet Another JSON Library
-# http://download.github.com/lloyd-yajl-%{version}-0-g%{tag}.tar.gz
-Source: lloyd-yajl-%{version}-0-g%{tag}.tar.bz2
+# http://download.github.com/lloyd-yajl-%{version}-0-g%{githash}.tar.gz
+Source: lloyd-yajl-%{version}-0-g%{githash}.tar.bz2
Source1: baselibs.conf
Patch1: libyajl-optflags.patch
Patch2: libyajl-lib_suffix.patch
@@ -44,6 +65,7 @@

%package -n %{name}%{soname}

+
Summary: Yet Another JSON Library
Group: System/Libraries

@@ -53,6 +75,7 @@

%package -n %{name}-devel

+
Summary: Yet Another JSON Library (Development Environment)
Group: Development/Libraries/C and C++
Requires: %{name}%{soname} = %{version}
@@ -66,6 +89,7 @@

%package -n %{name}-devel-static

+
Summary: Yet Another JSON Library (Static Library)
Group: Development/Libraries/C and C++
Requires: %{name}-devel = %{version}
@@ -78,7 +102,8 @@
against %{name}.

%package -n yajl
-License: BSD3c
+
+
Summary: Yet Another JSON Library Tools
Group: Productivity/Text/Utilities
Requires: %{name}%{soname} = %{version}
@@ -90,7 +115,7 @@
This package provides a few command-line utilities for processing JSON files.

%prep
-%setup -q -n "lloyd-yajl-%{tag}"
+%setup -q -n "lloyd-yajl-%{githash}"
%patch1
%patch2

@@ -120,7 +145,8 @@
popd build

%check
-%__make test
+cd test
+./run_tests.sh

%post -n %{name}%{soname} -p /sbin/ldconfig

@@ -148,4 +174,5 @@
%defattr(-,root,root)
%{_bindir}/json_reformat
%{_bindir}/json_verify
+
%changelog

++++++ libyajl-lib_suffix.patch ++++++
--- /var/tmp/diff_new_pack.8YSQPw/_old 2011-06-06 16:26:09.000000000 +0200
+++ /var/tmp/diff_new_pack.8YSQPw/_new 2011-06-06 16:26:09.000000000 +0200
@@ -2,7 +2,7 @@
===================================================================
--- src/CMakeLists.txt.orig
+++ src/CMakeLists.txt
-@@ -42,7 +42,7 @@ SET (PUB_HDRS api/yajl_parse.h api/yajl_
+@@ -44,7 +44,7 @@ SET (PUB_HDRS api/yajl_parse.h api/yajl_
ADD_DEFINITIONS(-DYAJL_BUILD)

# set up some paths

++++++ libyajl-rpmlintrc ++++++
--- /var/tmp/diff_new_pack.8YSQPw/_old 2011-06-06 16:26:09.000000000 +0200
+++ /var/tmp/diff_new_pack.8YSQPw/_new 2011-06-06 16:26:09.000000000 +0200
@@ -1,2 +1,4 @@
addFilter("no-dependency-on libyajl/libyajl-libs/liblibyajl")
addFilter("libyajl-devel-static..*: W: shlib-policy-missing-lib")
+addFilter("no-manual-page-for-binary .*")
+addFilter("macro-in-comment .*")


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages