[packages/otrs] - switched to new macros

paszczus paszczus at pld-linux.org
Wed Jan 30 14:42:34 CET 2013


commit d1636bf5ce2f82a4cf9e6e6d710a1be67b988c55
Author: Sławomir Paszkiewicz <paszczus at pld-linux.org>
Date:   Wed Jan 30 14:42:30 2013 +0100

    - switched to new macros

 otrs.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/otrs.spec b/otrs.spec
index 24d851a..b7ab4e5 100644
--- a/otrs.spec
+++ b/otrs.spec
@@ -4,7 +4,7 @@
 # - put cron in proper place
 # - write not so brain-damage init-script...
 #   VERIFY .... rpm -qp .../foo.rpm --provides
-%include	/usr/lib/rpm/macros.perl
+%{load:/usr/lib/rpm/macros.d/perl}
 Summary:	The Open Ticket Request System
 Summary(pl.UTF-8):	Open Ticket Request System - otwarty system zgłaszania żądań
 Name:		otrs
@@ -20,7 +20,7 @@ Source2:	%{name}.sysconfig
 Patch0:		%{name}-paths.patch
 URL:		http://otrs.org/
 BuildRequires:	rpm-perlprov
-BuildRequires:	rpmbuild(macros) >= 1.268
+BuildRequires:	rpmbuild(macros) >= 1.654
 Requires(pre):	/bin/id
 Requires(pre):	/usr/sbin/useradd
 Requires(pre):	/usr/sbin/usermod
@@ -41,8 +41,8 @@ Conflicts:	logrotate < 3.7-4
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_noautoreq	'perl\\(Kernel::.*\\)'
-%define		_noautoprov	'perl\\(Kernel::.*\\)' 'perl\\(YAML::.*\\)' 'perl\\(Net::.*\\)' 'perl\\(HTTP::.*\\)'
+%define		_noautoreq_perl	Kernel::.*
+%define		_noautoprov 	'perl\\(Kernel::.*\\)' 'perl\\(YAML::.*\\)' 'perl\\(Net::.*\\)' 'perl\\(HTTP::.*\\)'
 
 %define		otrsdir		%{_datadir}/otrs
 %define		otrsuser	otrs
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/otrs.git/commitdiff/d1636bf5ce2f82a4cf9e6e6d710a1be67b988c55



More information about the pld-cvs-commit mailing list