commit libpgf for openSUSE:Factory

2019-04-30 Thread root
Hello community,

here is the log from the commit of package libpgf for openSUSE:Factory checked 
in at 2019-04-30 13:02:15

Comparing /work/SRC/openSUSE:Factory/libpgf (Old)
 and  /work/SRC/openSUSE:Factory/.libpgf.new.5536 (New)


Package is "libpgf"

Tue Apr 30 13:02:15 2019 rev:10 rq:697657 version:7.19.3

Changes:

--- /work/SRC/openSUSE:Factory/libpgf/libpgf.changes2018-02-16 
21:45:56.132354141 +0100
+++ /work/SRC/openSUSE:Factory/.libpgf.new.5536/libpgf.changes  2019-04-30 
13:02:21.870134355 +0200
@@ -1,0 +2,7 @@
+Sat Apr 20 20:35:30 UTC 2019 - Asterios Dramis 
+
+- Update to version 7.19.3:
+  * This version fixes a compilation bug seen when ROI support is
+disabled.
+
+---



Other differences:
--
++ libpgf.spec ++
--- /var/tmp/diff_new_pack.AHE7bH/_old  2019-04-30 13:02:22.838133947 +0200
+++ /var/tmp/diff_new_pack.AHE7bH/_new  2019-04-30 13:02:22.842133946 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libpgf
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,21 +12,20 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define so_ver 7
 Name:   libpgf
-Version:7.15.32
+Version:7.19.3
 Release:0
 Summary:Progressive Graphics File Library
-License:LGPL-2.1+
+License:LGPL-2.1-or-later
 Group:  Productivity/Graphics/Other
-Url:http://www.libpgf.org/
+URL:http://www.libpgf.org/
 Source0:
https://sourceforge.net/projects/%{name}/files/%{name}/%{version}-latest/libPGF-codec-and-console-src.zip
 BuildRequires:  doxygen
-BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  graphviz
 BuildRequires:  libtool
@@ -53,54 +52,42 @@
 libpgf is a library for working with PGF (Progresive Graphics File) images.
 
 %prep
-%setup -q -n PGF
+%setup -q -n libPGF-codec-and-console-src
 
-cd Codec/
+cd PGF/Codec/
 # Add "libpgf-" prefix to all man pages to prevent conflicts with other 
packages
 sed -i 's/\$(mandir)\/man3\/\$\$f/\$(mandir)\/man3\/libpgf-\$\$f/' 
doc/Makefile.am
 
-# Fix permissions (fix rpmlint errors "spurious-executable-perm" and 
"executable-docs")
-chmod 644 COPYING README
-
 # Fix rpmlint warning "wrong-file-end-of-line-encoding"
 sed -i 's/\r$//' README
 
 # Remove build time references so build-compare can do its work
 echo "HTML_TIMESTAMP = NO" >> doc/Doxyfile.in
 
-# Fix end-of-line-encoding (fixes compilation)
-sed -i 's/\r$//' configure.ac
-
 %build
-cd Codec/
+cd PGF/Codec/
 sh autogen.sh
 %configure --disable-static
 make %{?_smp_mflags}
 
 %install
-cd Codec/
+cd PGF/Codec/
 %make_install DOC_DIR=%{buildroot}%{_docdir}/%{name}-devel/
 
-# Install additional documentation
-install -pm 0644 COPYING README %{buildroot}%{_docdir}/%{name}-devel/
-
 # Remove libtool config files
 find %{buildroot} -type f -name "*.la" -delete -print
 
-# Remove unneeded man pages
-rm -f %{buildroot}%{_mandir}/man3/libpgf-*rpmbuild*
-
-%fdupes -s %{buildroot}
-
 %post -n libpgf%{so_ver} -p /sbin/ldconfig
 %postun -n libpgf%{so_ver} -p /sbin/ldconfig
 
 %files devel
+%license PGF/Codec/COPYING
+%doc PGF/Codec/README
 %doc %{_docdir}/%{name}-devel/
 %{_includedir}/libpgf/
 %{_libdir}/pkgconfig/libpgf.pc
 %{_libdir}/libpgf.so
-%{_mandir}/man3/libpgf-*.3%{ext_man}
+%{_mandir}/man3/libpgf-*.3%{?ext_man}
 
 %files -n libpgf%{so_ver}
 %{_libdir}/libpgf.so.%{so_ver}*

++ libPGF-codec-and-console-src.zip ++
Binary files /var/tmp/diff_new_pack.AHE7bH/_old and 
/var/tmp/diff_new_pack.AHE7bH/_new differ




commit libpgf for openSUSE:Factory

2018-02-16 Thread root
Hello community,

here is the log from the commit of package libpgf for openSUSE:Factory checked 
in at 2018-02-16 21:45:54

Comparing /work/SRC/openSUSE:Factory/libpgf (Old)
 and  /work/SRC/openSUSE:Factory/.libpgf.new (New)


Package is "libpgf"

Fri Feb 16 21:45:54 2018 rev:9 rq:577210 version:7.15.32

Changes:

--- /work/SRC/openSUSE:Factory/libpgf/libpgf.changes2015-09-19 
06:53:03.0 +0200
+++ /work/SRC/openSUSE:Factory/.libpgf.new/libpgf.changes   2018-02-16 
21:45:56.132354141 +0100
@@ -1,0 +2,32 @@
+Thu Feb 15 20:43:24 UTC 2018 - asterios.dra...@gmail.com
+
+- Update to version 7.15.32:
+  * This version improves the reuse of CPGFImage objects for
+several decoding operations. It clarifies the usage of
+CPGFImage::Close() and CPGFImage::Destroy() by deletion of
+Close(). Several reading operations can be performed in the
+following way: Open(), Read(), GetBitmap(), ResetStreamPos(),
+Read(), GetBitmap(), ResetStreamPos(), ... Calling Destroy()
+frees all allocated ressources and reinitializes the object to
+the same state as the constructor does. This allows the reuse
+of the CPGFImage object for encoding and decoding: SetHeader(),
+ImportBitmap(), Write(), ResetStreamPos(), Destroy(), Open(),
+Read(), GetBitmap()
+  * Caching or skipping of user data (meta data) while opening a
+PGF image can be controlled by a new UserdataPolicy in
+ConfigureDecoder().
+  From version 7.15.25:
+  * In case you use the ROI decoding, we strongly encourage using
+version 7.15.25 instead of an older version.
+  * This version fixes some decoder bugs only seen in ROI decoding.
+ROI decoding is now also supported for Bitmap and RGB12 image
+modes.
+  * This version introduces a new and more efficient data format
+for binary images (bitmaps). The new format allows ROI
+decoding. The decoder supports both the old and the new format,
+but ROI decoding works only with the new format.
+  * The two reserverd bytes in PGFHeader are now used for a more
+detailled PGF version number.
+- Removed libpgf-r147.patch and libpgf-r148.patch (fixed upstream).
+
+---

Old:

  libpgf-r147.patch
  libpgf-r148.patch
  libpgf-src-6.14.12.tar.gz

New:

  libPGF-codec-and-console-src.zip



Other differences:
--
++ libpgf.spec ++
--- /var/tmp/diff_new_pack.6xUHSC/_old  2018-02-16 21:45:57.840292543 +0100
+++ /var/tmp/diff_new_pack.6xUHSC/_new  2018-02-16 21:45:57.844292399 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libpgf
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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,27 +16,22 @@
 #
 
 
-%define so_ver 6
-
+%define so_ver 7
 Name:   libpgf
-Version:6.14.12
+Version:7.15.32
 Release:0
 Summary:Progressive Graphics File Library
 License:LGPL-2.1+
 Group:  Productivity/Graphics/Other
 Url:http://www.libpgf.org/
-Source0:
http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM libpgf-r147.patch CVE-2015-6673 bnc#943304 boo#941059 
asterios.dra...@gmail.com -- Fix use-after-free vulnerability in Decoder.cpp
-Patch0: libpgf-r147.patch
-# PATCH-FIX-UPSTREAM libpgf-r148.patch CVE-2015-6673 bnc#943304 boo#941059 
asterios.dra...@gmail.com -- Fix use-after-free vulnerability in Decoder.cpp
-Patch1: libpgf-r148.patch
+Source0:
https://sourceforge.net/projects/%{name}/files/%{name}/%{version}-latest/libPGF-codec-and-console-src.zip
 BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  graphviz
 BuildRequires:  libtool
-BuildRequires:  pkg-config
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  pkgconfig
+BuildRequires:  unzip
 
 %description
 libpgf is a library for working with PGF (Progresive Graphics File) images.
@@ -58,12 +53,11 @@
 libpgf is a library for working with PGF (Progresive Graphics File) images.
 
 %prep
-%setup -q -n %{name}
-%patch0 -p1
-%patch1 -p1
+%setup -q -n PGF
 
+cd Codec/
 # Add "libpgf-" prefix to all man pages to prevent conflicts with other 
packages
-sed -i 's/\/man\/man3\/\$\$f/\/man\/man3\/libpgf-\$\$f/' doc/Makefile.am
+sed -i 's/\$(mandir)\/man3\/\$\$f/\$(mandir)\/man3\/libpgf-\$\$f/' 
doc/Makefile.am
 
 # Fix permissions (fix rpmlint errors "spurious-executable-perm" and 
"executable-docs")
 chmod 644 COPYING README
@@ -78,18 +72,20 @@
 sed -i 's/\r$//' configure.ac
 
 %build
+cd 

commit libpgf for openSUSE:Factory

2015-09-18 Thread h_root
Hello community,

here is the log from the commit of package libpgf for openSUSE:Factory checked 
in at 2015-09-19 06:53:02

Comparing /work/SRC/openSUSE:Factory/libpgf (Old)
 and  /work/SRC/openSUSE:Factory/.libpgf.new (New)


Package is "libpgf"

Changes:

--- /work/SRC/openSUSE:Factory/libpgf/libpgf.changes2014-08-13 
08:48:12.0 +0200
+++ /work/SRC/openSUSE:Factory/.libpgf.new/libpgf.changes   2015-09-19 
06:53:03.0 +0200
@@ -1,0 +2,8 @@
+Mon Sep  7 19:57:21 UTC 2015 - asterios.dra...@gmail.com
+
+- Added the following security patches from upstream:
+  * libpgf-r147.patch, libpgf-r148.patch
+Fix use-after-free vulnerability in Decoder.cpp
+CVE-2015-6673, bnc#943304, boo#941059
+
+---

New:

  libpgf-r147.patch
  libpgf-r148.patch



Other differences:
--
++ libpgf.spec ++
--- /var/tmp/diff_new_pack.jtDzO0/_old  2015-09-19 06:53:03.0 +0200
+++ /var/tmp/diff_new_pack.jtDzO0/_new  2015-09-19 06:53:03.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libpgf
 #
-# 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
@@ -26,6 +26,10 @@
 Group:  Productivity/Graphics/Other
 Url:http://www.libpgf.org/
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM libpgf-r147.patch CVE-2015-6673 bnc#943304 boo#941059 
asterios.dra...@gmail.com -- Fix use-after-free vulnerability in Decoder.cpp
+Patch0: libpgf-r147.patch
+# PATCH-FIX-UPSTREAM libpgf-r148.patch CVE-2015-6673 bnc#943304 boo#941059 
asterios.dra...@gmail.com -- Fix use-after-free vulnerability in Decoder.cpp
+Patch1: libpgf-r148.patch
 BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -55,6 +59,8 @@
 
 %prep
 %setup -q -n %{name}
+%patch0 -p1
+%patch1 -p1
 
 # Add "libpgf-" prefix to all man pages to prevent conflicts with other 
packages
 sed -i 's/\/man\/man3\/\$\$f/\/man\/man3\/libpgf-\$\$f/' doc/Makefile.am

++ libpgf-r147.patch ++
diff -up libpgf/include/PGFimage.h.r147 libpgf/include/PGFimage.h
--- libpgf/include/PGFimage.h.r147  2015-08-10 10:24:28.319204436 -0500
+++ libpgf/include/PGFimage.h   2015-08-10 10:44:12.58866 -0500
@@ -538,7 +538,7 @@ private:
ProgressMode m_progressMode;///< progress mode used in Read and 
Write; PM_Relative is default mode
 
void ComputeLevels();
-   void CompleteHeader();
+   bool CompleteHeader();
void RgbToYuv(int pitch, UINT8* rgbBuff, BYTE bpp, int channelMap[], 
CallbackPtr cb, void *data) THROW_;
void Downsample(int nChannel);
UINT32 UpdatePostHeaderSize() THROW_;
diff -up libpgf/src/Decoder.cpp.r147 libpgf/src/Decoder.cpp
--- libpgf/src/Decoder.cpp.r147 2015-08-10 10:24:28.637208326 -0500
+++ libpgf/src/Decoder.cpp  2015-08-10 10:45:04.349979345 -0500
@@ -158,7 +158,7 @@ CDecoder::CDecoder(CPGFStream* stream, P
if (size > 0) {
// read post-header
if (header.mode == ImageModeIndexedColor) {
-   ASSERT((size_t)size >= ColorTableSize);
+   if (size < ColorTableSize) 
ReturnWithError(FormatCannotRead);
// read color table
count = expected = ColorTableSize;
m_stream->Read(, postHeader.clut);
diff -up libpgf/src/PGFimage.cpp.r147 libpgf/src/PGFimage.cpp
--- libpgf/src/PGFimage.cpp.r1472014-03-21 07:09:10.0 -0500
+++ libpgf/src/PGFimage.cpp 2015-08-10 10:45:33.371423512 -0500
@@ -145,7 +145,7 @@ void CPGFImage::Open(CPGFStream *stream)
m_height[0] = m_header.height;
 
// complete header
-   CompleteHeader();
+   if (!CompleteHeader()) ReturnWithError(FormatCannotRead);
 
// interpret quant parameter
if (m_header.quality > DownsampleThreshold && 
@@ -205,7 +205,7 @@ void CPGFImage::Open(CPGFStream *stream)
 }
 
 
-void CPGFImage::CompleteHeader() {
+bool CPGFImage::CompleteHeader() {
if (m_header.mode == ImageModeUnknown) {
// undefined mode
switch(m_header.bpp) {
@@ -261,20 +261,20 @@ void CPGFImage::CompleteHeader() {
// change mode
m_header.mode = ImageModeRGBA;
}
-   ASSERT(m_header.mode != ImageModeBitmap || m_header.bpp == 1);
-

commit libpgf for openSUSE:Factory

2014-08-13 Thread h_root
Hello community,

here is the log from the commit of package libpgf for openSUSE:Factory checked 
in at 2014-08-13 08:48:09

Comparing /work/SRC/openSUSE:Factory/libpgf (Old)
 and  /work/SRC/openSUSE:Factory/.libpgf.new (New)


Package is libpgf

Changes:

--- /work/SRC/openSUSE:Factory/libpgf/libpgf.changes2014-02-15 
08:05:54.0 +0100
+++ /work/SRC/openSUSE:Factory/.libpgf.new/libpgf.changes   2014-08-13 
08:48:12.0 +0200
@@ -1,0 +2,8 @@
+Fri Aug  8 19:52:28 UTC 2014 - asterios.dra...@gmail.com
+
+- Update to version 6.14.12:
+  * The new version is a minor update of version 6.12.24.
+  * It mainly contains some fixes of memory leaks in the OpenMP part and some
+improvements suggested by cppcheck and Coverity.
+
+---

Old:

  libpgf-6.13.45.svn123.tar.bz2

New:

  libpgf-src-6.14.12.tar.gz



Other differences:
--
++ libpgf.spec ++
--- /var/tmp/diff_new_pack.md1Nwn/_old  2014-08-13 08:48:13.0 +0200
+++ /var/tmp/diff_new_pack.md1Nwn/_new  2014-08-13 08:48:13.0 +0200
@@ -19,14 +19,13 @@
 %define so_ver 6
 
 Name:   libpgf
-Version:6.13.45.svn123
+Version:6.14.12
 Release:0
 Summary:Progressive Graphics File Library
 License:LGPL-2.1+
 Group:  Productivity/Graphics/Other
 Url:http://www.libpgf.org/
-#Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}-src.tar.gz
-Source0:%{name}-%{version}.tar.bz2
+Source0:
http://downloads.sourceforge.net/%{name}/%{name}-src-%{version}.tar.gz
 BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -67,7 +66,10 @@
 sed -i 's/\r$//' README
 
 # Remove build time references so build-compare can do its work
-sed -i s/HTML_TIMESTAMP = YES/HTML_TIMESTAMP = NO/g 
doc/Doxyfile.in
+echo HTML_TIMESTAMP = NO  doc/Doxyfile.in
+
+# Fix end-of-line-encoding (fixes compilation)
+sed -i 's/\r$//' configure.ac
 
 %build
 sh autogen.sh

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libpgf for openSUSE:Factory

2014-02-14 Thread h_root
Hello community,

here is the log from the commit of package libpgf for openSUSE:Factory checked 
in at 2014-02-15 08:05:53

Comparing /work/SRC/openSUSE:Factory/libpgf (Old)
 and  /work/SRC/openSUSE:Factory/.libpgf.new (New)


Package is libpgf

Changes:

--- /work/SRC/openSUSE:Factory/libpgf/libpgf.changes2013-03-24 
22:00:36.0 +0100
+++ /work/SRC/openSUSE:Factory/.libpgf.new/libpgf.changes   2014-02-15 
08:05:54.0 +0100
@@ -1,0 +2,8 @@
+Thu Feb 13 20:59:56 UTC 2014 - asterios.dra...@gmail.com
+
+- Update to version 6.13.45.svn123:
+  * Detailed changelog not available.
+  * Fix memory leak in digikam (kde#326525, bnc#854323).
+- Removed automake-1.13.patch (fixed upstream).
+
+---

Old:

  automake-1.13.patch
  libpgf-6.12.24-src.tar.gz

New:

  libpgf-6.13.45.svn123.tar.bz2



Other differences:
--
++ libpgf.spec ++
--- /var/tmp/diff_new_pack.7mNAj3/_old  2014-02-15 08:05:55.0 +0100
+++ /var/tmp/diff_new_pack.7mNAj3/_new  2014-02-15 08:05:55.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libpgf
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,15 +19,14 @@
 %define so_ver 6
 
 Name:   libpgf
-Version:6.12.24
+Version:6.13.45.svn123
 Release:0
 Summary:Progressive Graphics File Library
 License:LGPL-2.1+
 Group:  Productivity/Graphics/Other
 Url:http://www.libpgf.org/
-Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}-src.tar.gz
-# PATCH-FIX-UPSTREAM automake-1.13.patch sf#3608908 asterios.dra...@gmail.com 
-- Fix build with automake 1.13
-Patch0: automake-1.13.patch
+#Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}-src.tar.gz
+Source0:%{name}-%{version}.tar.bz2
 BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -57,7 +56,6 @@
 
 %prep
 %setup -q -n %{name}
-%patch0
 
 # Add libpgf- prefix to all man pages to prevent conflicts with other 
packages
 sed -i 's/\/man\/man3\/\$\$f/\/man\/man3\/libpgf-\$\$f/' doc/Makefile.am

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libpgf for openSUSE:Factory

2013-03-24 Thread h_root
Hello community,

here is the log from the commit of package libpgf for openSUSE:Factory checked 
in at 2013-03-24 21:56:51

Comparing /work/SRC/openSUSE:Factory/libpgf (Old)
 and  /work/SRC/openSUSE:Factory/.libpgf.new (New)


Package is libpgf, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/libpgf/libpgf.changes2012-11-05 
14:55:07.0 +0100
+++ /work/SRC/openSUSE:Factory/.libpgf.new/libpgf.changes   2013-03-24 
22:00:36.0 +0100
@@ -1,0 +2,6 @@
+Sat Mar 23 18:49:49 UTC 2013 - asterios.dra...@gmail.com
+
+- Added a patch automake-1.13.patch to fix build with automake 1.13.
+- Fix build in SLE 11 SP2 and openSUSE 11.4.
+
+---

New:

  automake-1.13.patch



Other differences:
--
++ libpgf.spec ++
--- /var/tmp/diff_new_pack.qG470v/_old  2013-03-24 22:00:40.0 +0100
+++ /var/tmp/diff_new_pack.qG470v/_new  2013-03-24 22:00:40.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libpgf
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,8 @@
 Group:  Productivity/Graphics/Other
 Url:http://www.libpgf.org/
 Source0:
http://downloads.sourceforge.net/%{name}/%{name}-%{version}-src.tar.gz
+# PATCH-FIX-UPSTREAM automake-1.13.patch sf#3608908 asterios.dra...@gmail.com 
-- Fix build with automake 1.13
+Patch0: automake-1.13.patch
 BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -55,6 +57,7 @@
 
 %prep
 %setup -q -n %{name}
+%patch0
 
 # Add libpgf- prefix to all man pages to prevent conflicts with other 
packages
 sed -i 's/\/man\/man3\/\$\$f/\/man\/man3\/libpgf-\$\$f/' doc/Makefile.am
@@ -74,7 +77,10 @@
 make %{?_smp_mflags}
 
 %install
-%make_install DOC_DIR=%{buildroot}%{_docdir}/%{name}-devel/
+make DESTDIR=%{buildroot} DOC_DIR=%{buildroot}%{_docdir}/%{name}-devel/ install
+
+# Install additional documentation
+install -pm 0644 COPYING README %{buildroot}%{_docdir}/%{name}-devel/
 
 # Remove libtool config files
 rm -f %{buildroot}%{_libdir}/*.la
@@ -90,7 +96,6 @@
 
 %files devel
 %defattr(-,root,root,-)
-%doc COPYING README
 %doc %{_docdir}/%{name}-devel/
 %{_includedir}/libpgf/
 %{_libdir}/pkgconfig/libpgf.pc

++ automake-1.13.patch ++
--- configure.ac.orig   2012-06-26 11:03:01.0 +0300
+++ configure.ac2013-03-23 00:11:18.142544903 +0200
@@ -26,7 +26,7 @@
 
 AM_INIT_AUTOMAKE(libpgf,6.12.24)
 AC_PROG_LIBTOOL
-AM_CONFIG_HEADER( config.h )
+AC_CONFIG_HEADERS( config.h )
 AC_PROG_CXX
 
 dnl Check for doxygen support
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org