Changes of Revision 7
[-] | Changed | perl-SVN-Notify.spec |
x 1
2 # norootforbuild 3 4 -Name: perl-SVN_Notify 5 -Version: 2.65 6 +Name: perl-SVN-Notify 7 +Version: 2.79 8 Release: 0 9 -Summary: Subversion activity notification 10 -License: GPL, Artistic License 11 +Summary: Subversion Activity Notification 12 +License: Perl License 13 Group: Development/Libraries/Perl 14 -Url: http://search.cpan.org/~dwheeler/SVN-Notify/ 15 -# Source0: http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/SVN-Notify-%{version}.tar.gz 16 -Source0: SVN-Notify-%{version}.tar.gz 17 +URL: http://search.cpan.org/~dwheeler/SVN-Notify/ 18 +Source: http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/SVN-Notify-%{version}.tar.gz 19 BuildRoot: %{_tmppath}/%{name}-%{version}-build 20 -Packager: Richard Bos <richard@radoeka.nl> 21 - 22 Requires: perl = %{perl_version} 23 -BuildRequires: perl 24 -BuildRequires: perl-Module-Build 25 +BuildRequires: perl 26 +BuildRequires: perl-Module-Build 27 28 29 %description 30
31 To use svnnotify, simply add a call to svnnotify to your Subversion 32 repository's post-commit script. 33 34 + 35 + 36 + 37 Author: 38 ------- 39 - David Wheeler 40 + David E. Wheeler <david@kineticode.com> 41 42 %prep 43 -%setup -q -n SVN-Notify-%{version} 44 +%setup -q -n "SVN-Notify-%{version}" 45 +%__sed -i '/^auto_install/d' Makefile.PL 46 47 %build 48 -%__perl Makefile.PL destdir=%{buildroot} 49 -%__make 50 -%__make test 51 +%__perl Build.PL destdir="%{buildroot}" 52 +%__perl ./Build --installdirs=vendor 53 54 %install 55 -make DESTDIR=$RPM_BUILD_ROOT install 56 +%__sed -i "s|\('installdirs' => '\)site\(',\)|\1vendor\2|" _build/build_params 57 +%__perl ./Build --installdirs=vendor install 58 %perl_process_packlist 59 60 +%check 61 +%__perl ./Build test 62 + 63 %clean 64 -# %__rm -rf %{BuildRoot} 65 +%__rm -rf "%{buildroot}" 66 67 %files 68 %defattr(-, root, root) 69 %doc Changes README 70 %{_bindir}/svnnotify 71 -%{_mandir}/man1/svnnotify.1.gz 72 -%{_mandir}/man3/SVN::Notify*.3pm.gz 73 -%{perl_sitelib}/SVN/Notify.pm 74 -%{perl_sitelib}/SVN/Notify/Alternative.pm 75 -%{perl_sitelib}/SVN/Notify/HTML.pm 76 -%{perl_sitelib}/SVN/Notify/HTML/ColorDiff.pm 77 -# The suse_version check can be removed when SLES 9 is discontinued 78 +%dir %{perl_vendorlib}/SVN 79 +%{perl_vendorlib}/SVN/Notify.pm 80 +%dir %{perl_vendorlib}/SVN/Notify 81 +%{perl_vendorlib}/SVN/Notify/Alternative.pm 82 +%{perl_vendorlib}/SVN/Notify/Filter.pm 83 +%dir %{perl_vendorlib}/SVN/Notify/Filter 84 +%dir %{perl_vendorlib}/SVN/Notify/Filter/Trac.pm 85 +%{perl_vendorlib}/SVN/Notify/HTML.pm 86 +%dir %{perl_vendorlib}/SVN/Notify/HTML 87 +%{perl_vendorlib}/SVN/Notify/HTML/ColorDiff.pm 88 %if 0%{?suse_version} > 910 89 -%ifarch %{ix86} 90 -%{perl_sitelib}/i586-linux-thread-multi/auto/SVN/Notify/.packlist 91 -%endif 92 -%ifarch x86_64 93 -%{perl_sitelib}/x86_64-linux-thread-multi/auto/SVN/Notify/.packlist 94 -%endif 95 +%dir %{perl_vendorarch}/auto/SVN 96 +%{perl_vendorarch}/auto/SVN/Notify 97 %endif 98 +%doc %{_mandir}/man1/svnnotify.1* 99 +%doc %{_mandir}/man3/SVN::Notify*.%{perl_man3ext}* 100 101 %changelog 102 +* Tue May 12 2009 Pascal Bleser <pascal.bleser@opensuse.org> 2.79 103 +- update to 2.79 104 +- use ./Build.PL and ./Build 105 +- clean up spec file 106 +- fix build on >= openSUSE 11.1 107 + 108 * Sat May 26 2007 Richard Bos <richard@radoeka.nl> - 2.65 109 - Added destdir={buildroot} to the __perl Makefile.PL to make it build 110 for older versions 111 |