Search
j0ke.net Open Build Service
>
Projects
>
devel
:
subversion
>
svnnotify
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 7
[-]
[+]
Changed
perl-SVN-Notify.spec
@@ -1,20 +1,17 @@ # norootforbuild -Name: perl-SVN_Notify -Version: 2.65 +Name: perl-SVN-Notify +Version: 2.79 Release: 0 -Summary: Subversion activity notification -License: GPL, Artistic License +Summary: Subversion Activity Notification +License: Perl License Group: Development/Libraries/Perl -Url: http://search.cpan.org/~dwheeler/SVN-Notify/ -# Source0: http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/SVN-Notify-%{version}.tar.gz -Source0: SVN-Notify-%{version}.tar.gz +URL: http://search.cpan.org/~dwheeler/SVN-Notify/ +Source: http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/SVN-Notify-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -Packager: Richard Bos <richard@radoeka.nl> - Requires: perl = %{perl_version} -BuildRequires: perl -BuildRequires: perl-Module-Build +BuildRequires: perl +BuildRequires: perl-Module-Build %description @@ -27,46 +24,60 @@ To use svnnotify, simply add a call to svnnotify to your Subversion repository's post-commit script. + + + Author: ------- - David Wheeler + David E. Wheeler <david@kineticode.com> %prep -%setup -q -n SVN-Notify-%{version} +%setup -q -n "SVN-Notify-%{version}" +%__sed -i '/^auto_install/d' Makefile.PL %build -%__perl Makefile.PL destdir=%{buildroot} -%__make -%__make test +%__perl Build.PL destdir="%{buildroot}" +%__perl ./Build --installdirs=vendor %install -make DESTDIR=$RPM_BUILD_ROOT install +%__sed -i "s|\('installdirs' => '\)site\(',\)|\1vendor\2|" _build/build_params +%__perl ./Build --installdirs=vendor install %perl_process_packlist +%check +%__perl ./Build test + %clean -# %__rm -rf %{BuildRoot} +%__rm -rf "%{buildroot}" %files %defattr(-, root, root) %doc Changes README %{_bindir}/svnnotify -%{_mandir}/man1/svnnotify.1.gz -%{_mandir}/man3/SVN::Notify*.3pm.gz -%{perl_sitelib}/SVN/Notify.pm -%{perl_sitelib}/SVN/Notify/Alternative.pm -%{perl_sitelib}/SVN/Notify/HTML.pm -%{perl_sitelib}/SVN/Notify/HTML/ColorDiff.pm -# The suse_version check can be removed when SLES 9 is discontinued +%dir %{perl_vendorlib}/SVN +%{perl_vendorlib}/SVN/Notify.pm +%dir %{perl_vendorlib}/SVN/Notify +%{perl_vendorlib}/SVN/Notify/Alternative.pm +%{perl_vendorlib}/SVN/Notify/Filter.pm +%dir %{perl_vendorlib}/SVN/Notify/Filter +%dir %{perl_vendorlib}/SVN/Notify/Filter/Trac.pm +%{perl_vendorlib}/SVN/Notify/HTML.pm +%dir %{perl_vendorlib}/SVN/Notify/HTML +%{perl_vendorlib}/SVN/Notify/HTML/ColorDiff.pm %if 0%{?suse_version} > 910 -%ifarch %{ix86} -%{perl_sitelib}/i586-linux-thread-multi/auto/SVN/Notify/.packlist -%endif -%ifarch x86_64 -%{perl_sitelib}/x86_64-linux-thread-multi/auto/SVN/Notify/.packlist -%endif +%dir %{perl_vendorarch}/auto/SVN +%{perl_vendorarch}/auto/SVN/Notify %endif +%doc %{_mandir}/man1/svnnotify.1* +%doc %{_mandir}/man3/SVN::Notify*.%{perl_man3ext}* %changelog +* Tue May 12 2009 Pascal Bleser <pascal.bleser@opensuse.org> 2.79 +- update to 2.79 +- use ./Build.PL and ./Build +- clean up spec file +- fix build on >= openSUSE 11.1 + * Sat May 26 2007 Richard Bos <richard@radoeka.nl> - 2.65 - Added destdir={buildroot} to the __perl Makefile.PL to make it build for older versions