Updated the changes file and modified the spec file to allow
applications to more easily dynamically link our library without having to worry about the libraries version.
This commit is contained in:
@@ -121,6 +121,8 @@ install -m 755 %{_lib}/%{cfg}/krb5mech.so %{buildroot}%{prefix}/%{_lib}/CASA/aut
|
||||
install -m 755 %{_lib}/%{cfg}/pwmech.so %{buildroot}%{prefix}/%{_lib}/CASA/authtoken/pwmech.so.%{bldno}
|
||||
|
||||
# Symbolic Links
|
||||
ln -sf libcasa_c_authtoken.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_c_authtoken.so
|
||||
ln -sf libcasa_c_authtoken.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_c_authtoken.so.1
|
||||
ln -sf krb5mech.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/CASA/authtoken/krb5mech.so
|
||||
ln -sf krb5mech.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/CASA/authtoken/krb5mech.so.1
|
||||
ln -sf pwmech.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/CASA/authtoken/pwmech.so
|
||||
@@ -136,10 +138,6 @@ install -m 644 %{_lib}/%{cfg}/PwdAuthenticate.conf %{buildroot}/etc/CASA/authtok
|
||||
# Header Files
|
||||
install -m 644 include/casa_c_authtoken.h %{buildroot}%{prefix}/include
|
||||
|
||||
# Symbolic Links for CASA_auth_token_client files
|
||||
ln -sf libcasa_c_authtoken.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_c_authtoken.so
|
||||
ln -sf libcasa_c_authtoken.so.%{bldno} %{buildroot}%{prefix}/%{_lib}/libcasa_c_authtoken.so.1
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@@ -167,6 +165,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%dir /etc/CASA/authtoken/client
|
||||
%dir /etc/CASA/authtoken/client/mechanisms
|
||||
%{prefix}/%{_lib}/libcasa_c_authtoken.so.%{bldno}
|
||||
%{prefix}/%{_lib}/libcasa_c_authtoken.so
|
||||
%{prefix}/%{_lib}/libcasa_c_authtoken.so.1
|
||||
%{prefix}/%{_lib}/CASA/authtoken/krb5mech.so.%{bldno}
|
||||
%{prefix}/%{_lib}/CASA/authtoken/krb5mech.so
|
||||
%{prefix}/%{_lib}/CASA/authtoken/krb5mech.so.1
|
||||
@@ -194,8 +194,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%files -n CASA_auth_token_client-devel
|
||||
%defattr(-,root,root)
|
||||
%{prefix}/include/casa_c_authtoken.h
|
||||
%{prefix}/%{_lib}/libcasa_c_authtoken.so
|
||||
%{prefix}/%{_lib}/libcasa_c_authtoken.so.1
|
||||
|
||||
|
||||
%changelog -n CASA_auth_token_client
|
||||
|
||||
Reference in New Issue
Block a user