Update to latest upstream, change license, other minor fixes
This commit is contained in:
parent
4f8d4992c6
commit
d423e87d23
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
sblim-indication_helper-0.4.2.tar.bz2
|
||||
/sblim-indication_helper-0.5.0.tar.bz2
|
||||
|
||||
@ -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;
|
||||
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user