mchalk pushed to drpm (f21). "Bumped version to 0.1.3, switched build tool to CMake and fixed bugs."

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Jun 15 11:13:01 UTC 2015


From 682e970449e89e047a627855672069b90c696de9 Mon Sep 17 00:00:00 2001
From: Matej Chalk <mchalk at redhat.com>
Date: Mon, 15 Jun 2015 12:33:44 +0200
Subject: Bumped version to 0.1.3, switched build tool to CMake and fixed bugs.


diff --git a/.gitignore b/.gitignore
index 4eed3bc..357ce6b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /drpm-0.1.2.tar.bz2
+/drpm-0.1.3.tar.bz2
diff --git a/drpm.spec b/drpm.spec
index 6ed8f90..452c0ca 100644
--- a/drpm.spec
+++ b/drpm.spec
@@ -1,7 +1,7 @@
 %global _hardened_build 1
 
 Name:           drpm
-Version:        0.1.2
+Version:        0.1.3
 Release:        1%{?dist}
 Summary:        A small library for fetching information from deltarpm packages
 License:        LGPLv3+
@@ -12,6 +12,9 @@ BuildRequires:  rpm-devel
 BuildRequires:  zlib-devel
 BuildRequires:  bzip2-devel
 BuildRequires:  xz-devel
+BuildRequires:  cmake >= 2.8
+BuildRequires:  libcmocka-devel >= 1.0
+BuildRequires:  valgrind
 
 %package devel
 Summary:        C interface for the drpm library
@@ -28,18 +31,21 @@ The drpm-devel package provides a C interface (drpm.h) for the drpm library.
 %setup -q
 
 %build
-make %{?_smp_mflags} CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
+%cmake .
+make %{?_smp_mflags}
+
+%check
+make check %{?_smp_mflags}
 
 %install
-%make_install libdir=%{_libdir} includedir=%{_includedir}
+%make_install
 
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
 %files
-%{_libdir}/libdrpm.so.0
-%{_libdir}/libdrpm.so.0.0.0
+%{_libdir}/libdrpm.so.*
 %license COPYING COPYING.LESSER
 
 %files devel
@@ -48,6 +54,16 @@ make %{?_smp_mflags} CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
 %{_libdir}/pkgconfig/drpm.pc
 
 %changelog
+* Wed Mar 11 2015 Matej Chalk <mchalk at redhat.com> 0.1.3-3
+- Added cmocka and valgrind package dependencies
+
+* Fri Mar 6 2015 Matej Chalk <mchalk at redhat.com> 0.1.3-2
+- Added check section
+
+* Fri Feb 13 2015 Matej Chalk <mchalk at redhat.com> 0.1.3-1
+- Bumped version to 0.1.3
+- Added CMake tool
+
 * Fri Dec 19 2014 Matej Chalk <mchalk at redhat.com> 0.1.2-4
 - Enabled hardened build
 
diff --git a/sources b/sources
index e89b957..44e9de8 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-977b89024fb0634de1bf0490c61a41cc  drpm-0.1.2.tar.bz2
+e32e49a41e41c3eded0ed76ad2e8ad01  drpm-0.1.3.tar.bz2
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/drpm.git/commit/?h=f21&id=682e970449e89e047a627855672069b90c696de9


More information about the scm-commits mailing list