From 953ccfa85858118ce699b38c8984b0326ed8b148 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 2 Feb 2011 06:40:44 +0000 Subject: [PATCH] - fix lms.x86_64: E: backup-file-in-package /usr/share/lms/contrib/customer_otherip/class.php.orig Changed files: lms.spec -> 1.121 --- lms.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lms.spec b/lms.spec index 93d242c..7503a49 100644 --- a/lms.spec +++ b/lms.spec @@ -4,14 +4,14 @@ # # Conditional build: %bcond_without lmsd # without lmsd daemon -# + %define lmsver 1.11 %define lmssubver 11 Summary: LAN Managment System Summary(pl.UTF-8): System Zarządzania Siecią Lokalną Name: lms Version: %{lmsver}.%{lmssubver} -Release: 1 +Release: 2 License: GPL v2 Group: Networking/Utilities Source0: http://www.lms.org.pl/download/%{lmsver}/%{name}-%{version}.tar.gz @@ -172,6 +172,9 @@ lib/Smarty/plugins/modifier.{money_format,striphtml,to_words}.php \ smarty-plugins rm -rf lib/Smarty +# cleanup backups after patching +find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f + %build %if %{with lmsd} -- 2.44.0