Sync from SUSE:SLFO:Main docbook_5 revision 8c4ce43c4183299f9246570af80ad408
This commit is contained in:
parent
1a1becaaeb
commit
45f1315a7a
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 26 18:42:00 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Shorten %prep code, utilize everything %setup has to offer.
|
||||||
|
- Avoid piping to xargs when that is not necessary.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 26 07:50:47 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Use %patch -P N instead of deprecated %patchN.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 3 06:54:34 UTC 2023 - Thomas Schraitle <thomas.schraitle@suse.com> - 5.2CR5
|
Fri Mar 3 06:54:34 UTC 2023 - Thomas Schraitle <thomas.schraitle@suse.com> - 5.2CR5
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package docbook_5
|
# spec file for package docbook_5
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -87,24 +87,16 @@ The documentation for the DocBook 5.x specification (%{schemaversions})
|
|||||||
%define xml_sysconf_dir %{_sysconfdir}/xml
|
%define xml_sysconf_dir %{_sysconfdir}/xml
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name} -c -T
|
%setup -Tcqn %{name} -a3 -a4 -a500 -a510 -a520
|
||||||
sed -i 's_@VERSION@_%{realversion}_g' %{SOURCE1}
|
sed -i 's_@VERSION@_%{realversion}_g' %{SOURCE1}
|
||||||
# Copy catalog, README, and Makefile
|
# Copy catalog, README, and Makefile
|
||||||
cp -p %{SOURCE1} %{SOURCE2} %{SOURCE6} .
|
cp -p %{SOURCE1} %{SOURCE2} %{SOURCE6} .
|
||||||
|
|
||||||
# Unpack the sources:
|
find . -type d -exec chmod a+rx {} +
|
||||||
tar -xf %{SOURCE500}
|
find . -type f -exec chmod u+w,a+r {} +
|
||||||
tar -xf %{SOURCE510}
|
|
||||||
unzip %{SOURCE520}
|
|
||||||
# Unpack the documentation:
|
|
||||||
tar -xf %{SOURCE3}
|
|
||||||
tar -xf %{SOURCE4}
|
|
||||||
|
|
||||||
chmod -R a+rX,g-w,o-w .
|
|
||||||
find . -type f | xargs chmod a-x
|
|
||||||
|
|
||||||
# Patching
|
# Patching
|
||||||
%patch501
|
%patch -P 501
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Nothing to build
|
# Nothing to build
|
||||||
|
Loading…
Reference in New Issue
Block a user