added patch to fix permssions of style.css breaking make install of packages [release 1.30-2mamba;Sun Jun 02 2019]
This commit is contained in:
parent
a9afc0d573
commit
e5d3c50a26
12
gtk-doc-1.30-fix-perms-style-css.patch
Normal file
12
gtk-doc-1.30-fix-perms-style-css.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git i/gtkdoc/highlight.py w/gtkdoc/highlight.py
|
||||
index 8f6e470..82e11e8 100644
|
||||
--- i/gtkdoc/highlight.py
|
||||
+++ w/gtkdoc/highlight.py
|
||||
@@ -47,6 +47,6 @@ def highlight_code(code, lang='c'):
|
||||
|
||||
|
||||
def append_style_defs(css_file_name):
|
||||
- os.chmod(css_file_name, stat.S_IWRITE)
|
||||
+ os.chmod(css_file_name, 0o644)
|
||||
with open(css_file_name, 'at', newline='\n', encoding='utf-8') as css:
|
||||
css.write(HTML_FORMATTER.get_style_defs())
|
@ -1,6 +1,6 @@
|
||||
Name: gtk-doc
|
||||
Version: 1.30
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: API documentation generation tool for GTK+ and GNOME
|
||||
Group: Graphical Desktop/Applications/Development
|
||||
Vendor: openmamba
|
||||
@ -9,6 +9,7 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.gtk.org
|
||||
Source: ftp://ftp.gnome.org/pub/gnome/sources/gtk-doc/%{version}/gtk-doc-%{version}.tar.xz
|
||||
Patch0: gtk-doc-1.15-fixxref-vim-7.3.patch
|
||||
Patch1: gtk-doc-1.30-fix-perms-style-css.patch
|
||||
License: GPL
|
||||
BuildRequires: perl
|
||||
BuildRequires: openjade
|
||||
@ -38,6 +39,7 @@ It is used for generating the documentation for GTK+, GLib and GNOME.
|
||||
%prep
|
||||
%setup -q -n gtk-doc-%{version}
|
||||
#%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
@ -74,6 +76,9 @@ It is used for generating the documentation for GTK+, GLib and GNOME.
|
||||
#ChangeLog NEWS README TODO
|
||||
|
||||
%changelog
|
||||
* Sun Jun 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.30-2mamba
|
||||
- added patch to fix permssions of style.css breaking make install of packages
|
||||
|
||||
* Sat May 11 2019 Automatic Build System <autodist@mambasoft.it> 1.30-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user