]> git.pld-linux.org Git - packages/ed.git/blobdiff - ed.spec
s/%{_target}/%{_target_platform}/
[packages/ed.git] / ed.spec
diff --git a/ed.spec b/ed.spec
index e4117489de722be960fb08bcdb28009bc8954c5b..47c862270d025a43c04f638a00890808926c3c1f 100644 (file)
--- a/ed.spec
+++ b/ed.spec
@@ -5,11 +5,11 @@ Summary(pl):  GNU edytor liniowy
 Summary(tr):   GNU satýr düzenleyici
 Name:          ed
 Version:       0.2
-Release:       13
+Release:       14
 Copyright:     GPL
 Group:         Applications/Editors
 Group(pl):     Aplikacje/Edytory
-Source:                ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
+Source:                ftp://prep.ai.mit.edu/pub/gnu/ed/%{name}-%{version}.tar.gz
 Patch:         ed-info.patch
 Prereq:                /sbin/install-info
 Buildroot:     /tmp/%{name}-%{version}-root
@@ -44,7 +44,7 @@ yaz
 
 %build
 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure \
+./configure %{_target_platform} \
        --prefix=/usr \
        --exec-prefix=/
 
@@ -55,18 +55,18 @@ make
 make prefix=$RPM_BUILD_ROOT/usr \
     exec_prefix=$RPM_BUILD_ROOT install
 
-rm -f $RPM_BUILD_ROOT/usr/man/man1/red.1
-echo .so ed.1 > $RPM_BUILD_ROOT/usr/man/man1/red.1
+rm -f $RPM_BUILD_ROOT%{_mandir}/man1/red.1
+echo .so ed.1 > $RPM_BUILD_ROOT%{_mandir}/man1/red.1
 
 gzip -9nf $RPM_BUILD_ROOT/usr/{man/man1/*,info/*info*} \
        NEWS POSIX README
 
 %post
-/sbin/install-info /usr/info/ed.info.gz /etc/info-dir
+/sbin/install-info %{_infodir}/ed.info.gz /etc/info-dir
 
 %preun
 if [ "$1" = "0" ]; then
-       /sbin/install-info --delete /usr/info/ed.info.gz /etc/info-dir
+       /sbin/install-info --delete %{_infodir}/ed.info.gz /etc/info-dir
 fi
 
 %clean
@@ -77,10 +77,14 @@ rm -rf $RPM_BUILD_ROOT
 %doc *.gz
 %attr(755,root,root) /bin/*
 
-/usr/info/ed.info.gz
-/usr/man/man1/*
+%{_infodir}/ed.info.gz
+%{_mandir}/man1/*
 
 %changelog
+* Thu Apr 22 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
+  [0.2-14]
+- recompiles on new rpm.
+
 * Thu Apr  1 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
   [0.2-13]
 - removed man group from man pages,
This page took 0.08295 seconds and 4 git commands to generate.