[packages/imapsync] - don't try to install rpms or cpan modules after build - rel 3

baggins baggins at pld-linux.org
Sat Nov 9 13:41:37 CET 2019


commit 36de871b7b29a07dee66db5f1275c8def848452b
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Nov 9 13:39:45 2019 +0100

    - don't try to install rpms or cpan modules after build
    - rel 3

 imapsync.spec           |  4 +++-
 no-prereq-install.patch | 20 ++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletion(-)
---
diff --git a/imapsync.spec b/imapsync.spec
index ab82820..38bd38e 100644
--- a/imapsync.spec
+++ b/imapsync.spec
@@ -3,11 +3,12 @@ Summary:	Mailboxes synchronization tool
 Summary(pl.UTF-8):	Narzędzie do synchroniczacji skrzynek pocztowych
 Name:		imapsync
 Version:	1.882
-Release:	2
+Release:	3
 License:	NOLIMIT Public License
 Group:		Applications/Mail
 Source0:	https://github.com/imapsync/imapsync/archive/%{name}-%{version}.tar.gz
 # Source0-md5:	00b650f03165ecfeb6712151d5175ea1
+Patch0:		no-prereq-install.patch
 URL:		http://imapsync.lamiral.info/
 BuildRequires:	cpanminus
 BuildRequires:	perl-Authen-NTLM
@@ -77,6 +78,7 @@ usunięte po udanym przesłaniu.
 
 %prep
 %setup -q -n %{name}-%{name}-%{version}
+%patch0 -p1
 
 %build
 %{__make}
diff --git a/no-prereq-install.patch b/no-prereq-install.patch
new file mode 100644
index 0000000..f389f70
--- /dev/null
+++ b/no-prereq-install.patch
@@ -0,0 +1,20 @@
+--- imapsync-imapsync-1.882/Makefile~	2018-05-07 16:04:51.000000000 +0200
++++ imapsync-imapsync-1.882/Makefile	2019-11-09 13:37:46.838978808 +0100
+@@ -93,7 +93,7 @@
+ 	@echo "$(DISTRO)"
+ 
+ 
+-all: doc VERSION biz prereq allcritic bin VERSION_EXE 
++all: doc VERSION biz allcritic bin VERSION_EXE 
+ 
+ testp :
+ 	sh INSTALL.d/prerequisites_imapsync
+@@ -165,7 +165,7 @@
+ W/imapsync.1: imapsync
+ 	pod2man imapsync > W/imapsync.1
+ 
+-install: testp W/imapsync.1
++install: W/imapsync.1
+ 	mkdir -p $(DESTDIR)$(PREFIX)/bin
+ 	install imapsync $(DESTDIR)$(PREFIX)/bin/imapsync
+ 	chmod 755 $(DESTDIR)$(PREFIX)/bin/imapsync
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/imapsync.git/commitdiff/36de871b7b29a07dee66db5f1275c8def848452b



More information about the pld-cvs-commit mailing list