Hi Sandworm, Is there any particular section of the freeradius.spec file where I should add the sed line?

Regards

Alberto Cruz
Sandworm wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

  
I already tried your suggestion but I'm getting the same
error. Is there
anything else that I should to do?

Regards

Alberto Cruz

    

I had pointed this out a couple of months ago. The way I had fixed
it then was to add the line
Nicolas had suggested, as repeated below, to freeradius.conf:

  
Perhaps adding this command in freeradius.spec could fix the
    
problem:

  
sed -i "s@doc/freeradius@doc/freeradius-%{version}@" doc/Makefile
    
doc/examples/Makefile doc/rfc/Makefile

But perhaps, as Nicolas had suggested, this could be replaced by a -
- -docdir option.

  
However, I think it'd be more elegant to add an option --docdir
    
to
  
configure and update the makefiles to use that.
    

I'm afraid this part is beyond my capabilities...

But even after that, to get all the files (this only copies four or
so files in),
I had also needed the %files part of the spec file to be:

%files
%defattr(-,root,root)
%doc doc/Acct-Type doc/Autz-Type doc/CYGWIN doc/ChangeLog doc/DIFFS
doc/MACOSX
%doc doc/OS2 doc/Post-Auth-Type doc/RADIUS-LDAP-eDirectory
doc/RADIUS-SQL.schema
%doc doc/README doc/Session-Type doc/Simultaneous-Use doc/aaa.txt
doc/ascend
%doc doc/bay doc/bugs doc/cisco doc/coding-methods.txt
doc/configurable_failover
%doc doc/duplicate-users doc/ldap_howto.txt doc/load-balance.txt
doc/misc-nas
%doc doc/module_interface doc/mssql doc/performance-testing
doc/processing_users_file
%doc doc/proxy doc/radrelay doc/release-method.txt doc/rfc/
%doc doc/rlm* doc/supervise-radiusd.txt
%doc doc/tuning_guide doc/variables.txt todo/ COPYRIGHT INSTALL

This fixes it. Would it be possible to get this into the next
release?
-----BEGIN PGP SIGNATURE-----
Note: This signature can be verified at https://www.hushtools.com/verify
Version: Hush 2.5

wkYEARECAAYFAkSI4GkACgkQmw4BJyaatJ0xnACgiWQQrJ+pB7AH/eOAASdUwZTEsTEA
nAqTweXSujToCVcBBbufrylD9Ryp
=liwO
-----END PGP SIGNATURE-----


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html