fix specfile issues reported by the fedora-review script
This commit is contained in:
parent
d91a0086cd
commit
3f63622435
@ -1,7 +1,7 @@
|
||||
Summary: Utility for converting FIG files (made by xfig) to other formats
|
||||
Name: transfig
|
||||
Version: 3.2.5d
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
Epoch: 1
|
||||
License: MIT
|
||||
URL: http://www.xfig.org/
|
||||
@ -23,8 +23,6 @@ BuildRequires: libjpeg-devel
|
||||
BuildRequires: libXpm-devel
|
||||
BuildRequires: imake
|
||||
|
||||
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%description
|
||||
The transfig utility creates a makefile which translates FIG (created
|
||||
by xfig) or PIC figures into a specified LaTeX graphics language (for
|
||||
@ -57,19 +55,13 @@ make Makefiles
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
|
||||
make DESTDIR=%{buildroot} install install.man
|
||||
|
||||
# fig2ps2tex{,.sh} are equivalent, use the sh one
|
||||
mv %{buildroot}%{_bindir}/fig2ps2tex.sh %{buildroot}%{_bindir}/fig2ps2tex
|
||||
ln -s fig2ps2tex %{buildroot}%{_bindir}/fig2ps2tex.sh
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES NOTES README LATEX.AND.XFIG
|
||||
%{_bindir}/transfig
|
||||
%{_bindir}/fig2dev
|
||||
@ -81,6 +73,9 @@ rm -rf %{buildroot}
|
||||
%{_datadir}/fig2dev
|
||||
|
||||
%changelog
|
||||
* Tue Aug 28 2012 Kamil Dudka <kdudka@redhat.com> - 1:3.2.5d-9
|
||||
- fix specfile issues reported by the fedora-review script
|
||||
|
||||
* Thu Aug 09 2012 Kamil Dudka <kdudka@redhat.com> - 1:3.2.5d-8
|
||||
- fix buffer overflow on loading a malformed .fig file (CVE-2009-4227)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user