]> git.pld-linux.org Git - packages/lslk.git/commitdiff
- updated to 1.27, lslk-1_27-1
authorkloczek <kloczek@pld-linux.org>
Fri, 3 Nov 2000 07:42:43 +0000 (07:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- use new rpm automation.

Changed files:
    lslk.spec -> 1.7

lslk.spec

index f61a8c10c98e44a1416ef76611ae2d1557cda4a4..81b1a08d365cbb8092f19eacf2aa5e0cf6c7e315 100644 (file)
--- a/lslk.spec
+++ b/lslk.spec
@@ -1,9 +1,10 @@
 Summary:       A lock file lister
 Name:          lslk
-Version:       1.26
+Version:       1.27
 Release:       1
 Copyright:     Free
 Group:         Development/Debuggers
+Group(de):     Entwicklung/Debugger
 Group(pl):     Programowanie/Odpluskwiacze
 Source0:       ftp://vic.cc.purdue.edu/pub/tools/unix/lslk/%{name}_%{version}_W.tar.gz
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -16,23 +17,20 @@ Install lslk if you need a utility for listing file locks.
 %prep
 %setup -q -c -n lslk
 tar xf lslk_%{version}.tar
-[ -d lslk_%{version} ] && cd lslk_%{version}
 
 %build
-rm -rf $RPM_BUILD_ROOT
-[ -d lslk_%{version} ] && cd lslk_%{version}
+cd lslk_%{version}
 ./Configure -n linux
-%{__make} CFGF=-DLINUXV=21131 DEBUG="$RPM_OPT_FLAGS"
+%{__make} CFGF=-DLINUXV=21131 DEBUG="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
 
-[ -d lslk_%{version} ] && cd lslk_%{version}
-install -s lslk $RPM_BUILD_ROOT%{_sbindir}
-install lslk.8 $RPM_BUILD_ROOT%{_mandir}/man8/
+cd lslk_%{version}
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/*
+install lslk $RPM_BUILD_ROOT%{_sbindir}
+install lslk.8 $RPM_BUILD_ROOT%{_mandir}/man8/
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -40,5 +38,5 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 # XXX should be mode 4755, but for now leave the setuid off
-%attr(0755,root,kmem) %{_prefix}/sbin/lslk
+%attr(0755,root,root) %{_sbindir}/lslk
 %{_mandir}/man8/*
This page took 0.076962 seconds and 4 git commands to generate.