Projects
Kolab:3.4
php-pear-Net-LDAP3
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 5
View file
php-pear-Net-LDAP3.spec
Changed
@@ -2,6 +2,7 @@ # Needed for openSUSE %if 0%{?suse_version} +%global php php5 %{!?pear_cfgdir: %global pear_cfgdir %(%{__pear} config-get cfg_dir 2> /dev/null || echo undefined)} %{!?pear_datadir: %global pear_datadir %(%{__pear} config-get data_dir 2> /dev/null || echo undefined)} %{!?pear_docdir: %global pear_docdir %(%{__pear} config-get doc_dir 2> /dev/null || echo undefined)} @@ -10,6 +11,8 @@ %{!?pear_testdir: %global pear_testdir %(%{__pear} config-get test_dir 2> /dev/null || echo undefined)} %{!?pear_wwwdir: %global pear_wwwdir %(%{__pear} config-get www_dir 2> /dev/null || echo undefined)} %{!?pear_xmldir: %global pear_xmldir %{_localstatedir}/lib/pear/pkgxml} +%else +%global php php %endif %global pear_name Net_LDAP3 @@ -45,8 +48,8 @@ %install rm -rf %{buildroot} -mkdir -p %{buildroot}/%{_datadir}/php -cp -a lib/Net %{buildroot}/%{_datadir}/php/. +mkdir -p %{buildroot}/%{_datadir}/%{php} +cp -a lib/Net %{buildroot}/%{_datadir}/%{php}/. %clean rm -rf %{buildroot} @@ -54,12 +57,12 @@ %files %defattr(-,root,root,-) %if 0%{?suse_version} -%dir %{_datadir}/php +%dir %{_datadir}/%{php} %endif -%dir %{_datadir}/php/Net -%{_datadir}/php/Net/LDAP3.php -%dir %{_datadir}/php/Net/LDAP3 -%{_datadir}/php/Net/LDAP3/Result.php +%dir %{_datadir}/%{php}/Net +%{_datadir}/%{php}/Net/LDAP3.php +%dir %{_datadir}/%{php}/Net/LDAP3 +%{_datadir}/%{php}/Net/LDAP3/Result.php %changelog * Thu Aug 14 2014 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 1.0.0-1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.