Accepting request 482507 from home:kstreitova:branches:devel:tools

- cleanup with spec-cleaner
- get rid of %{name} and %{version} macros in the patch names

OBS-URL: https://build.opensuse.org/request/show/482507
OBS-URL: https://build.opensuse.org/package/show/devel:tools/indent?expand=0&rev=9
This commit is contained in:
Martin Pluskal 2017-03-24 15:47:45 +00:00 committed by Git OBS Bridge
parent 2704117eaf
commit 5e4303a5f3
2 changed files with 15 additions and 9 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 23 15:15:13 UTC 2017 - kstreitova@suse.com
- cleanup with spec-cleaner
- get rid of %{name} and %{version} macros in the patch names
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Feb 19 09:28:11 UTC 2015 - dimstar@opensuse.org Thu Feb 19 09:28:11 UTC 2015 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package indent # spec file for package indent
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# 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
@ -26,11 +26,11 @@ Url: http://www.gnu.org/software/indent
Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz
Source1: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig Source1: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz.sig
Source2: %{name}.keyring Source2: %{name}.keyring
Patch0: %{name}-%{version}-nothing_is_void.diff Patch0: indent-2.2.10-nothing_is_void.diff
Patch1: %{name}-%{version}-warnings.diff Patch1: indent-2.2.10-warnings.diff
Patch2: %{name}-%{version}-lcall.diff Patch2: indent-2.2.10-lcall.diff
Patch3: %{name}-%{version}-cdw.diff Patch3: indent-2.2.10-cdw.diff
Patch4: %{name}-%{version}-man.diff Patch4: indent-2.2.10-man.diff
Patch5: indent-texi2html-5.0.patch Patch5: indent-texi2html-5.0.patch
BuildRequires: makeinfo BuildRequires: makeinfo
BuildRequires: texi2html BuildRequires: texi2html
@ -58,7 +58,7 @@ incomplete and malformed syntax.
make -j 1 make -j 1
%install %install
make DESTDIR=%{buildroot} install %{?_smp_mflags} %make_install
# indent.html is installed with doc below # indent.html is installed with doc below
rm -f %{buildroot}%{_prefix}/doc/indent/indent.html %{buildroot}%{_bindir}/texinfo2man %{buildroot}/%{_infodir}/dir rm -f %{buildroot}%{_prefix}/doc/indent/indent.html %{buildroot}%{_bindir}/texinfo2man %{buildroot}/%{_infodir}/dir
mv %{buildroot}%{_datadir}/locale/zh_TW.Big5 %{buildroot}%{_datadir}/locale/zh_TW mv %{buildroot}%{_datadir}/locale/zh_TW.Big5 %{buildroot}%{_datadir}/locale/zh_TW
@ -77,7 +77,7 @@ make %{?_smp_mflags} -C regression
%defattr(-, root, root) %defattr(-, root, root)
%{_bindir}/* %{_bindir}/*
%doc doc/indent.html %doc doc/indent.html
%{_infodir}/%{name}.info.gz %{_infodir}/%{name}.info%{ext_info}
%{_mandir}/man1/indent.1.gz %{_mandir}/man1/indent.1%{ext_man}
%changelog %changelog