Fix: opensuse package
This commit is contained in:
parent
ec767a9772
commit
9b95b3e891
@ -27,7 +27,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
Group: Productivity/Office/Management
|
Group: Productivity/Office/Management
|
||||||
Requires: apache2, apache2-mod_php5, php5 >= 5.3.0, php5-gd, php5-ldap, php5-imap, php5-mysql, php5-openssl, dejavu
|
Requires: apache2, apache2-mod_php5, php5 >= 5.3.0, php5-gd, php5-ldap, php5-imap, php5-mysql, php5-openssl, dejavu
|
||||||
Requires: mysql-community-server, mysql-community-server-client
|
Requires: mysql-community-server, mysql-community-server-client
|
||||||
|
%if 0%{?suse_version}
|
||||||
BuildRequires: update-desktop-files fdupes
|
BuildRequires: update-desktop-files fdupes
|
||||||
|
%endif
|
||||||
|
|
||||||
# Set yes to build test package, no for release (this disable need of /usr/bin/php not found by OpenSuse)
|
# Set yes to build test package, no for release (this disable need of /usr/bin/php not found by OpenSuse)
|
||||||
AutoReqProv: no
|
AutoReqProv: no
|
||||||
@ -119,6 +121,7 @@ do
|
|||||||
fi
|
fi
|
||||||
done >>%{name}.lang
|
done >>%{name}.lang
|
||||||
|
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
|
||||||
# Enable this command to tag desktop file for suse
|
# Enable this command to tag desktop file for suse
|
||||||
%suse_update_desktop_file dolibarr
|
%suse_update_desktop_file dolibarr
|
||||||
@ -126,6 +129,8 @@ done >>%{name}.lang
|
|||||||
# Enable this command to allow suse detection of duplicate files and create hardlinks instead
|
# Enable this command to allow suse detection of duplicate files and create hardlinks instead
|
||||||
%fdupes $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs
|
%fdupes $RPM_BUILD_ROOT%{_datadir}/%{name}/htdocs
|
||||||
|
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
#---- clean
|
#---- clean
|
||||||
%clean
|
%clean
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user