Update to latest upstream, change license, other minor fixes

This commit is contained in:
Vitezslav Crhonek 2019-05-14 14:00:25 +02:00
parent 4f8d4992c6
commit d423e87d23
5 changed files with 14 additions and 53 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
sblim-indication_helper-0.4.2.tar.bz2
/sblim-indication_helper-0.5.0.tar.bz2

View File

@ -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 <konradr@us.ibm.com>
* Date : 09/20/2004
*/
-
+#include <stdio.h>
#include <cmpift.h>
typedef unsigned int Uint32;

View File

@ -1,21 +0,0 @@
Index: ind_helper.c
===================================================================
--- ind_helper.c.orig
+++ ind_helper.c
@@ -19,6 +19,7 @@
#include <config.h>
#include <cmpimacs.h>
+#include <stdint.h>
#include <pthread.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
@@ -1287,7 +1288,7 @@
pthread_detach (thread_id);
IND_HLP_DEBUG ("_worker exited.");
- pthread_exit ((void *) rc);
+ pthread_exit ((void *)(intptr_t) rc);
}
/**

View File

@ -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 <vcrhonek@redhat.com> - 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 <releng@fedoraproject.org> - 0.4.2-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View File

@ -1 +1 @@
10eaea3af8ab3d3b7463098d23bb5779 sblim-indication_helper-0.4.2.tar.bz2
SHA512 (sblim-indication_helper-0.5.0.tar.bz2) = afd56549608718b4aac9f2f6c468d233d4d7a2abb59b997f64504b3e791ded94bc974b04a68d225c3ca7f955df19ffb8fbda16e8d82952a58cf79c0c92a65db5