Search
j0ke.net Open Build Service
>
Projects
>
server:pxe
>
p7zip
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Changed
p7zip.spec
@@ -19,7 +19,10 @@ Name: p7zip -BuildRequires: fdupes gcc-c++ +%if 0%{?suse_version} >= 1030 +BuildRequires: fdupes +%endif +BuildRequires: gcc-c++ License: LGPLv2.1+ Group: Productivity/Archiving/Compression AutoReqProv: on @@ -67,22 +70,9 @@ %{_mandir} \ %{_defaultdocdir}/%{name} \ %{buildroot} +%if 0%{?suse_version} >= 1030 %fdupes -s $RPM_BUILD_ROOT -# fix permissions in DOCS dir -#chmod -R u+w %{buildroot}/%{_defaultdocdir}/%{name}/DOCS -# fix build root in scripts: -#rm -f $RPM_BUILD_ROOT/%{_bindir}/7za -#cat > $RPM_BUILD_ROOT/%{_bindir}/7za <<-EOT -# #!/bin/bash -# exec %{_libdir}/%{name}/7za "\$@" -#EOT -#chmod a+x $RPM_BUILD_ROOT/%{_bindir}/7za -#rm -f $RPM_BUILD_ROOT/%{_bindir}/7z -#cat > $RPM_BUILD_ROOT/%{_bindir}/7z <<-EOT -# #!/bin/bash -# exec %{_libdir}/%{name}/7z "\$@" -#EOT -#chmod a+x $RPM_BUILD_ROOT/%{_bindir}/7z +%endif %check %{__make} test