Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
proftpd
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 36
[-]
[+]
Changed
proftpd.spec
@@ -16,7 +16,7 @@ License: GPL Group: Productivity/Networking/Ftp/Servers BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: libacl-devel libattr-devel mysql-devel openssl-devel pam-devel postgresql-devel glibc-devel libgcc gcc gcc-c++ +BuildRequires: libacl-devel libattr-devel mysql-devel openssl-devel pam-devel postgresql-devel glibc-devel libgcc gcc gcc-c++ sed %if 0%{?suse_version} <= 1000 BuildRequires: libcap @@ -114,7 +114,9 @@ %{__install} -D -m 0644 contrib/dist/rpm/proftpd.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/%{name} %{__install} -D -m 0755 %{S:1} %{buildroot}%{_sysconfdir}/init.d/%{name} %{__ln_s} -f %{_sysconfdir}/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name} - +for FILE in `ls -1A %{buildroot}/%{_libdir}/proftpd/*.la` ; do + sed -i s#${RPM_BUILD_DIR}/%{name}-%{_pversion}#%{_prefix}#g ${FILE} +done %clean %{__rm} -rf %{buildroot}