- Remove GPL-3.0 licensed files ( bnc#775397 )
OBS-URL: https://build.opensuse.org/package/show/hardware/gammu?expand=0&rev=17
This commit is contained in:
parent
1b321cbd4f
commit
334877fb2b
11
gammu-remove-gplv3-files.patch
Normal file
11
gammu-remove-gplv3-files.patch
Normal file
@ -0,0 +1,11 @@
|
||||
Index: gammu-1.32.0/contrib/CMakeLists.txt
|
||||
===================================================================
|
||||
--- gammu-1.32.0.orig/contrib/CMakeLists.txt
|
||||
+++ gammu-1.32.0/contrib/CMakeLists.txt
|
||||
@@ -113,6 +113,5 @@ endif (INSTALL_UDEV_RULES)
|
||||
|
||||
# Build some examples
|
||||
# We do not install them intentionally, just check whether they still compile
|
||||
-add_subdirectory(smscgi)
|
||||
add_subdirectory(convert)
|
||||
add_subdirectory(sqlreply)
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 10 09:27:19 UTC 2012 - idonmez@suse.com
|
||||
|
||||
- Remove GPL-3.0 licensed files ( bnc#775397 )
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 31 12:25:03 UTC 2012 - asterios.dramis@gmail.com
|
||||
|
||||
|
@ -26,6 +26,8 @@ Url: http://wammu.eu/gammu/
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz
|
||||
# PATCH-FIX-OPENSUSE gammu-smsd.lsb.patch asterios.dramis@gmail.com -- Fix rpmlint warnings "unknown-lsb-keyword" and "init-script-runlevel-4"
|
||||
Patch0: gammu-smsd.lsb.patch
|
||||
# PATCH-FIX-OPENSUSE gammu-remove-gplv3-files.patch idoenmez@suse.de -- Remove GPLv3 files bnc#775397
|
||||
Patch1: gammu-remove-gplv3-files.patch
|
||||
# Python location
|
||||
%{!?__python: %define __python python}
|
||||
%define g_python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
|
||||
@ -277,6 +279,8 @@ supports - many Nokias, Siemens, Alcatel, ...
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch1 -p1
|
||||
|
||||
# Remove build time references - Fix rpmlint warning "file-contains-date-and-time"
|
||||
FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%H:%%M')
|
||||
FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e %%Y')
|
||||
@ -286,6 +290,11 @@ sed -i "s/__DATE__/\"$FAKE_BUILDDATE\"/" gammu/gammu.c gammu-detect/main.c libga
|
||||
chmod 644 python/examples/*.py
|
||||
chmod 644 contrib/init/gammu-smsd.lsb
|
||||
|
||||
# GPL-3.0 licensed files, bnc#775397
|
||||
rm -rf contrib/sms-gammu2android
|
||||
rm -rf contrib/smscgi
|
||||
rm -rf helper/win32-*
|
||||
|
||||
%build
|
||||
mkdir build
|
||||
cd build
|
||||
|
Loading…
x
Reference in New Issue
Block a user