Hello community, here is the log from the commit of package hiredis for openSUSE:Factory checked in at 2015-03-05 15:40:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hiredis (Old) and /work/SRC/openSUSE:Factory/.hiredis.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hiredis" Changes: -------- --- /work/SRC/openSUSE:Factory/hiredis/hiredis.changes 2015-03-03 11:16:34.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.hiredis.new/hiredis.changes 2015-03-05 18:16:31.000000000 +0100 @@ -1,0 +2,9 @@ +Tue Mar 3 14:52:58 UTC 2015 - dims...@opensuse.org + +- Add hiredis-pkgconfig.patch: Fix generation of .pc file. +- Pass PREFIX and LIBRARY_PATH (lib/lib64) to make (and make + install): the build phase needs this info for the .pc file + generation. +- Make use of the new DESTDIR support. + +------------------------------------------------------------------- New: ---- hiredis-pkgconfig.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hiredis.spec ++++++ --- /var/tmp/diff_new_pack.Pn0QQi/_old 2015-03-05 18:16:32.000000000 +0100 +++ /var/tmp/diff_new_pack.Pn0QQi/_new 2015-03-05 18:16:32.000000000 +0100 @@ -25,6 +25,7 @@ Group: Productivity/Databases/Clients Url: https://github.com/redis/hiredis Source0: https://github.com/redis/hiredis/archive/v%{version}.tar.gz +Patch0: hiredis-pkgconfig.patch BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -51,12 +52,13 @@ %prep %setup -q +%patch0 -p1 %build -make %{?_smp_mflags} OPTIMIZATION="%{optflags}" +make %{?_smp_mflags} OPTIMIZATION="%{optflags}" PREFIX=%{_prefix} LIBRARY_PATH=%{_lib} %install -make install PREFIX=%{buildroot}/%{_prefix} INSTALL_LIBRARY_PATH=%{buildroot}%{_libdir} +make install DESTDIR=%{buildroot} PREFIX=%{_prefix} LIBRARY_PATH=%{_lib} mkdir -p %{buildroot}%{_bindir} install -m 0755 %{name}-* %{buildroot}%{_bindir} ++++++ hiredis-pkgconfig.patch ++++++ Index: hiredis-0.12.1/Makefile =================================================================== --- hiredis-0.12.1.orig/Makefile +++ hiredis-0.12.1/Makefile @@ -157,8 +157,8 @@ $(PKGCONFNAME): hiredis.h @echo Name: hiredis >> $@ @echo Description: Minimalistic C client library for Redis. >> $@ @echo Version: $(HIREDIS_MAJOR).$(HIREDIS_MINOR).$(HIREDIS_PATCH) >> $@ - @echo Libs: -L$${libdir} -lhiredis >> $@ - @echo Cflags: -I$${includedir} -D_FILE_OFFSET_BITS=64 >> $@ + @echo Libs: -L\$${libdir} -lhiredis >> $@ + @echo Cflags: -I\$${includedir} -D_FILE_OFFSET_BITS=64 >> $@ install: $(DYLIBNAME) $(STLIBNAME) mkdir -p $(INSTALL_INCLUDE_PATH) $(INSTALL_LIBRARY_PATH) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org