- removed default _sysconfdir definition, other cosmetics auto/ac/2UTF-1_22-7
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 2 Sep 2003 15:14:13 +0000 (15:14 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    2UTF.spec -> 1.44

2UTF.spec

index 7ace176..4c06c14 100644 (file)
--- a/2UTF.spec
+++ b/2UTF.spec
@@ -13,7 +13,6 @@ URL:          http://x-lt.richard.eu.org/me/rch/ll.html
 #URL:          http://www.angelfire.com/me/rch/ll.html#2UTF
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _sysconfdir     /etc
 %define                aliasdir        /var/lib/misc
 
 %description
@@ -51,7 +50,9 @@ LDFLAGS="%{rpmcflags} -L/usr/lib/gconv"; export LDFLAGS
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_datadir}/i18n/charmaps
-%{__make} GZIPDOCS=no \
+
+%{__make} install \
+       GZIPDOCS=no \
        PREFIX=$RPM_BUILD_ROOT%{_prefix} \
        sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} \
        var_prefix=$RPM_BUILD_ROOT/var \
@@ -62,8 +63,7 @@ install -d $RPM_BUILD_ROOT%{_datadir}/i18n/charmaps
        man1dir=$RPM_BUILD_ROOT%{_mandir}/man1 \
        tmpdir_install=yes \
        owner=`id -ur` \
-       group=`id -gr` \
-       install
+       group=`id -gr`
 
 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{fromUTF.1,toUTF.1}
 echo ".so 2UTF.1" > $RPM_BUILD_ROOT%{_mandir}/man1/toUTF.1
@@ -71,15 +71,15 @@ echo ".so 2UTF.1" > $RPM_BUILD_ROOT%{_mandir}/man1/fromUTF.1
 
 ln -sf 2UTF $RPM_BUILD_ROOT%{_bindir}/toUTF
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %post
 if [ -f /var/lib/2UTF.aliases ]; then
        mv -f /var/lib/2UTF.aliases %{aliasdir}/2UTF.aliases
 fi
 %{_bindir}/2UTF --create-aliases
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(644,root,root,755)
 %doc examples/* BSD_style_license TODO changelog copyright
This page took 0.029895 seconds and 4 git commands to generate.