- 20060614, specfile cleanups, include examples in docs.

f38
Ville Skyttä 19 years ago
parent fcd075272a
commit 25d59a6fc5

@ -1 +1 @@
Perl-Tidy-20031021.tar.gz Perl-Tidy-20060614.tar.gz

@ -1,19 +1,16 @@
%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
Name: perltidy Name: perltidy
Version: 20031021 Version: 20060614
Release: 2 Release: 1%{?dist}
Summary: Tool for indenting and reformatting Perl scripts Summary: Tool for indenting and reformatting Perl scripts
Group: Development/Tools Group: Development/Tools
License: GPL License: GPL
URL: http://perltidy.sourceforge.net/ URL: http://perltidy.sourceforge.net/
Source: http://download.sf.net/perltidy/Perl-Tidy-20031021.tar.gz Source: http://download.sf.net/perltidy/Perl-Tidy-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch BuildArch: noarch
BuildRequires: perl >= 1:5.6.1 BuildRequires: perl
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description %description
@ -30,7 +27,8 @@ brackets because it is very good at localizing errors.
%prep %prep
%setup -q -n Perl-Tidy-20031021 %setup -q -n Perl-Tidy-%{version}
rm -f docs/perltidy.1 examples/pt.bat
%build %build
@ -44,10 +42,9 @@ make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/* chmod -R u+w $RPM_BUILD_ROOT/*
rm -f docs/perltidy.1 # already in mandir
%check || : %check
make test make test
@ -57,14 +54,17 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc BUGS CHANGES COPYING README TODO docs %doc BUGS CHANGES COPYING README TODO docs/ examples/
%{_bindir}/perltidy %{_bindir}/perltidy
%{perl_vendorlib}/Perl %{perl_vendorlib}/Perl/
%{_mandir}/man1/perltidy.1* %{_mandir}/man1/perltidy.1*
%{_mandir}/man3/Perl::Tidy.3* %{_mandir}/man3/Perl::Tidy.3*
%changelog %changelog
* Thu Jun 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 20060614-1
- 20060614, specfile cleanups, include examples in docs.
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
- rebuilt - rebuilt

@ -1 +1 @@
ba1e8aff6329666564a3c72a202d1a7f Perl-Tidy-20031021.tar.gz 4f147bdec6140216db983a72c01bbfd7 Perl-Tidy-20060614.tar.gz

Loading…
Cancel
Save