Use standard paths instead of postfixed version paths.

Fri, 16 Jan 2009 20:52:58 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2009 20:52:58 +0100
changeset 96
af66192d4e85
parent 95
c15febc142b1
child 97
da688f850c6d

Use standard paths instead of postfixed version paths.

pgp2/pgp2.spec file | annotate | diff | comparison | revisions
     1.1 --- a/pgp2/pgp2.spec	Fri Jan 16 20:52:12 2009 +0100
     1.2 +++ b/pgp2/pgp2.spec	Fri Jan 16 20:52:58 2009 +0100
     1.3 @@ -38,7 +38,7 @@
     1.4  Group:        Cryptography
     1.5  License:      GPL
     1.6  Version:      %{V_long}
     1.7 -Release:      20040916
     1.8 +Release:      20090106
     1.9  
    1.10  #   list of sources
    1.11  Source0:      ftp://ftp.pgpi.org/pub/pgp/%{V_short}/src/pgp%{V_strip}is.tar.gz
    1.12 @@ -76,7 +76,7 @@
    1.13  
    1.14      #   patch distribution
    1.15      %{l_shtool} subst \
    1.16 -        -e 's;\/usr\/local\/lib\/pgp;%{l_prefix}\/etc\/pgp2;' \
    1.17 +        -e 's;\/usr\/local\/lib\/pgp;%{l_prefix}\/etc\/pgp;' \
    1.18          src/fileio.h
    1.19  
    1.20  %build
    1.21 @@ -102,24 +102,24 @@
    1.22      %{l_shtool} mkdir -f -p -m 755 \
    1.23          $RPM_BUILD_ROOT%{l_prefix}/bin \
    1.24          $RPM_BUILD_ROOT%{l_prefix}/man/man1 \
    1.25 -        $RPM_BUILD_ROOT%{l_prefix}/etc/pgp2
    1.26 +        $RPM_BUILD_ROOT%{l_prefix}/etc/pgp
    1.27  
    1.28      #   install program and manpage files
    1.29      %{l_shtool} install -c -s -m 755 \
    1.30 -        src/pgp $RPM_BUILD_ROOT%{l_prefix}/bin/pgp2
    1.31 +        src/pgp $RPM_BUILD_ROOT%{l_prefix}/bin/pgp
    1.32      %{l_shtool} install -c -m 644 \
    1.33 -        doc/pgp.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/pgp2.1
    1.34 +        doc/pgp.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/pgp.1
    1.35  
    1.36      #   install configuration, language, and help files
    1.37      %{l_shtool} install -c -m 644 \
    1.38          config.txt *.hlp doc/pgpdoc[12].txt \
    1.39          language.txt %{SOURCE language.idx} \
    1.40 -        $RPM_BUILD_ROOT%{l_prefix}/etc/pgp2/
    1.41 +        $RPM_BUILD_ROOT%{l_prefix}/etc/pgp/
    1.42  
    1.43      #   determine installation files and mark configs
    1.44      %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
    1.45          %{l_files_std} \
    1.46 -        '%config %{l_prefix}/etc/pgp2/config.txt'
    1.47 +        '%config %{l_prefix}/etc/pgp/config.txt'
    1.48  
    1.49  %files -f files
    1.50  

mercurial