]> git.pld-linux.org Git - packages/calamaris.git/commitdiff
- source alter should be in %prep; cosmetics
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 11 Jun 2006 21:03:05 +0000 (21:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    calamaris.spec -> 1.51

calamaris.spec

index 8ed12788fe2111dd60d56f17a04d339cb3d01710..60d5217c350551648f0a42c4bc401c920f2e6e4e 100644 (file)
@@ -1,4 +1,3 @@
-#
 # TODO:
 # - think about default directory for calamaris output (somwhere in /var) so
 #   it works out-of-the-box
@@ -17,12 +16,13 @@ Source1:    %{name}.crontab
 Source2:       %{name}.sysconfig
 Source3:       %{name}-croniface
 URL:           http://cord.de/tools/squid/calamaris/Welcome.html
+BuildRequires: sed >= 4.0
 Requires:      /bin/zcat
 Requires:      /etc/cron.d
 Requires:      crontabs
 Requires:      setup >= 2.4.6
-Conflicts:     squid < 7:2.5.STABLE7-5
 Conflicts:     logrotate < 3.7-3
+Conflicts:     squid < 7:2.5.STABLE7-5
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -37,13 +37,10 @@ jak i HTML-a. Niezb
 
 %prep
 %setup -q
+%{__sed} -i -e 's/use ident/use the ident/' calamaris calamaris.conf
 
 %install
 rm -rf $RPM_BUILD_ROOT
-for i in calamaris calamaris.conf ; do
-       sed 's/use ident/use the ident/' < $i > $i.new
-       mv $i.new $i
-done
 
 install -d $RPM_BUILD_ROOT{/etc/{cron.d,sysconfig},%{_bindir},%{_sbindir},%{_mandir}/man1}
 
This page took 0.052318 seconds and 4 git commands to generate.