fix packaging of decsWood as symlink, not directory [release 0.043-2mamba;Tue Oct 11 2016]
This commit is contained in:
parent
d28fb68599
commit
cc1b0f36c2
21
ocre.spec
21
ocre.spec
@ -1,7 +1,7 @@
|
|||||||
%define realversion %(echo %version | tr . _)
|
%define realversion %(echo %version | tr . _)
|
||||||
Name: ocre
|
Name: ocre
|
||||||
Version: 0.043
|
Version: 0.043
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: o.c.r. easy (and free/libre)
|
Summary: o.c.r. easy (and free/libre)
|
||||||
Group: Applications/Graphics
|
Group: Applications/Graphics
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -15,8 +15,8 @@ Source1: ftp://lem.eui.upm.es/pub/ocre/ocre-decsWood-%{version}.tgz
|
|||||||
Patch: ocre-0.029-Makefile.patch
|
Patch: ocre-0.029-Makefile.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: aspell-devel
|
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libaspell-devel
|
||||||
BuildRequires: libatk-devel
|
BuildRequires: libatk-devel
|
||||||
BuildRequires: libcairo-devel
|
BuildRequires: libcairo-devel
|
||||||
BuildRequires: libfontconfig-devel
|
BuildRequires: libfontconfig-devel
|
||||||
@ -59,6 +59,13 @@ tar -xvzf %{SOURCE1} -C %{buildroot}%{_datadir}/ocre/
|
|||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
|
|
||||||
|
%pre
|
||||||
|
if [ $1 -ge 1 ]; then
|
||||||
|
# Became a symlink
|
||||||
|
[ -d %{_datadir}/ocre/decsWood ] && rmdir %{_datadir}/ocre/decsWood
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root, 0755)
|
%defattr(-, root, root, 0755)
|
||||||
%{_bindir}/ocre
|
%{_bindir}/ocre
|
||||||
@ -69,8 +76,7 @@ tar -xvzf %{SOURCE1} -C %{buildroot}%{_datadir}/ocre/
|
|||||||
%{_datadir}/ocre/conv/puntua
|
%{_datadir}/ocre/conv/puntua
|
||||||
%{_datadir}/ocre/conv/tposyes
|
%{_datadir}/ocre/conv/tposyes
|
||||||
%{_datadir}/ocre/conv/ts-8859-*.ts
|
%{_datadir}/ocre/conv/ts-8859-*.ts
|
||||||
%dir %{_datadir}/ocre/decsWood
|
%{_datadir}/ocre/decsWood
|
||||||
%{_datadir}/ocre/decsWood/*
|
|
||||||
%dir %{_datadir}/ocre/decsWoodCur
|
%dir %{_datadir}/ocre/decsWoodCur
|
||||||
%{_datadir}/ocre/decsWoodCur/*
|
%{_datadir}/ocre/decsWoodCur/*
|
||||||
%dir %{_datadir}/ocre/decsWoodCyrillic
|
%dir %{_datadir}/ocre/decsWoodCyrillic
|
||||||
@ -79,10 +85,13 @@ tar -xvzf %{SOURCE1} -C %{buildroot}%{_datadir}/ocre/
|
|||||||
%{_datadir}/ocre/decsWoodLatin/*
|
%{_datadir}/ocre/decsWoodLatin/*
|
||||||
%dir %{_datadir}/ocre/decsWoodLatinW
|
%dir %{_datadir}/ocre/decsWoodLatinW
|
||||||
%{_datadir}/ocre/decsWoodLatinW/*
|
%{_datadir}/ocre/decsWoodLatinW/*
|
||||||
%{_mandir}/es/man1/ocre.1.gz
|
%{_mandir}/es/man1/ocre.1*
|
||||||
%{_mandir}/man1/ocre.1.gz
|
%{_mandir}/man1/ocre.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 11 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.043-2mamba
|
||||||
|
- fix packaging of decsWood as symlink, not directory
|
||||||
|
|
||||||
* Tue Oct 11 2016 Automatic Build System <autodist@mambasoft.it> 0.043-1mamba
|
* Tue Oct 11 2016 Automatic Build System <autodist@mambasoft.it> 0.043-1mamba
|
||||||
- automatic update by autodist
|
- automatic update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user