]> git.pld-linux.org Git - packages/lms.git/blobdiff - lms.spec
- fix lms.x86_64: E: backup-file-in-package /usr/share/lms/contrib/customer_otherip...
[packages/lms.git] / lms.spec
index 93d242c6230a78d5bfb3f487b33efea736c2e097..7503a49a66f827742960e64291e38f2ae140688f 100644 (file)
--- 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}
 
This page took 0.179529 seconds and 4 git commands to generate.