From d423e87d231b6dfd95f4b1f40157ad3ae9f3483a Mon Sep 17 00:00:00 2001 From: Vitezslav Crhonek Date: Tue, 14 May 2019 14:00:25 +0200 Subject: [PATCH] Update to latest upstream, change license, other minor fixes --- .gitignore | 2 +- missing-stderr-def.patch | 12 -------- sblim-indication_helper-0.4.2_warnings.patch | 21 -------------- sblim-indication_helper.spec | 30 ++++++++------------ sources | 2 +- 5 files changed, 14 insertions(+), 53 deletions(-) delete mode 100644 missing-stderr-def.patch delete mode 100644 sblim-indication_helper-0.4.2_warnings.patch diff --git a/.gitignore b/.gitignore index dc5f43d..7b6d88d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -sblim-indication_helper-0.4.2.tar.bz2 +/sblim-indication_helper-0.5.0.tar.bz2 diff --git a/missing-stderr-def.patch b/missing-stderr-def.patch deleted file mode 100644 index 03d80ed..0000000 --- a/missing-stderr-def.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up sblim-indication_helper-0.4.2/ind_helper.h.org sblim-indication_helper-0.4.2/ind_helper.h ---- sblim-indication_helper-0.4.2/ind_helper.h.org 2009-11-19 10:35:45.000000000 -0600 -+++ sblim-indication_helper-0.4.2/ind_helper.h 2009-11-19 10:36:05.000000000 -0600 -@@ -13,7 +13,7 @@ - * Author: Konrad Rzeszutek - * Date : 09/20/2004 - */ -- -+#include - #include - - typedef unsigned int Uint32; diff --git a/sblim-indication_helper-0.4.2_warnings.patch b/sblim-indication_helper-0.4.2_warnings.patch deleted file mode 100644 index ffe3975..0000000 --- a/sblim-indication_helper-0.4.2_warnings.patch +++ /dev/null @@ -1,21 +0,0 @@ -Index: ind_helper.c -=================================================================== ---- ind_helper.c.orig -+++ ind_helper.c -@@ -19,6 +19,7 @@ - #include - #include - -+#include - #include - #ifdef HAVE_STDLIB_H - #include -@@ -1287,7 +1288,7 @@ - pthread_detach (thread_id); - IND_HLP_DEBUG ("_worker exited."); - -- pthread_exit ((void *) rc); -+ pthread_exit ((void *)(intptr_t) rc); - } - - /** diff --git a/sblim-indication_helper.spec b/sblim-indication_helper.spec index 23182fc..906b652 100644 --- a/sblim-indication_helper.spec +++ b/sblim-indication_helper.spec @@ -1,13 +1,11 @@ Name: sblim-indication_helper -Version: 0.4.2 -Release: 22%{?dist} +Version: 0.5.0 +Release: 1%{?dist} Summary: Toolkit for CMPI indication providers -License: CPL -URL: http://sblim.wiki.sourceforge.net/ +License: EPL-1.0 +URL: https://sourceforge.net/projects/sblim/ Source0: http://downloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2 -Patch0: sblim-indication_helper-0.4.2_warnings.patch -Patch1: missing-stderr-def.patch BuildRequires: sblim-cmpi-devel BuildRequires: gcc gcc-c++ @@ -21,7 +19,6 @@ indication class properties (also set by the developer). Summary: Toolkit for CMPI indication providers (Development Files) Requires: %{name} = %{version}-%{release} sblim-cmpi-devel glibc-devel - %description devel This package contain developer library for helping out when writing CMPI providers. This library polls the registered functions for data @@ -30,38 +27,35 @@ indication class properties (also set by the developer). This package holds the development files for sblim-indication_helper. - %prep %setup -q -%patch0 -%patch1 -p1 - %build %configure --disable-static --with-pic make %{?_smp_mflags} - %install make install DESTDIR=$RPM_BUILD_ROOT rm $RPM_BUILD_ROOT/%{_libdir}/libind_helper.la %ldconfig_scriptlets - %files -%doc README COPYING ChangeLog TODO +%license COPYING +%doc README ChangeLog TODO %{_libdir}/libind_helper.so.* - - %files devel %{_includedir}/sblim %{_libdir}/libind_helper.so -%doc COPYING - %changelog +* Tue May 14 2019 Vitezslav Crhonek - 0.5.0-1 +- Update to latest upstream version +- Change license to Eclipse Public License 1.0 +- Use %%license +- Fix URL + * Sat Feb 02 2019 Fedora Release Engineering - 0.4.2-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 50e18e1..f7afe6c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -10eaea3af8ab3d3b7463098d23bb5779 sblim-indication_helper-0.4.2.tar.bz2 +SHA512 (sblim-indication_helper-0.5.0.tar.bz2) = afd56549608718b4aac9f2f6c468d233d4d7a2abb59b997f64504b3e791ded94bc974b04a68d225c3ca7f955df19ffb8fbda16e8d82952a58cf79c0c92a65db5