readd spec file hacks to fix build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON-PP?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
5fba79aeb1
commit
18eb68c1ce
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 3 01:45:20 UTC 2016 - chris@computersalat.de
|
||||
|
||||
- readd specfile hacks to fix build on 13.1 or newer
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 5 09:28:30 UTC 2016 - coolo@suse.com
|
||||
|
||||
|
||||
@@ -54,9 +54,17 @@ JSON::PP is a pure-Perl module and has compatibility to JSON::XS.
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%if 0%{?suse_version} >= 1210
|
||||
# newer perl has these included
|
||||
rm %{buildroot}/%{_mandir}/man1/json_pp.1
|
||||
rm %{buildroot}/%{_bindir}/json_pp
|
||||
%endif
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
# perl_gen_filelist makes everything 0644...
|
||||
sed -i -e '/json_pp/s#\(^.*$\)#%attr(755,root,root) \1#' %{name}.files
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README
|
||||
|
||||
Reference in New Issue
Block a user