]> git.pld-linux.org Git - packages/Razor.git/blobdiff - Razor.spec
- BR: perl-devel; do not BR: perl
[packages/Razor.git] / Razor.spec
index 8f750af338dcc6dd6c359974b90a0d6177ad68a5..8f70f4dc700d832d94d85cf82e919f784d74f763 100644 (file)
@@ -1,19 +1,20 @@
 %include       /usr/lib/rpm/macros.perl
-Summary:       Collection of files for checking, reporting, and revoking spam.
-Summary(pl):   Zbiór plików do sprawdzania, raportowania i odrzucania spamu.
+Summary:       Collection of files for checking, reporting, and revoking spam
+Summary(pl):   Zbiór plików do sprawdzania, raportowania i odrzucania spamu
 Name:          Razor
 Version:       2.12
-Release:       1
+Release:       4
 License:       Artistic
 Group:         Applications/Mail
 Source0:       http://unc.dl.sourceforge.net/sourceforge/razor/razor-agents-%{version}.tar.gz
 Patch0:                razor-agents-makefile.patch
 URL:           http://razor.sourceforge.net/
-BuildRequires: perl >= 5
+BuildRequires: perl-devel >= 5
 BuildRequires: rpm-perlprov >= 3.0.3-16
+Requires:      perl-Razor = %{version}
+Obsoletes:     perl-Vipuls-Razor-V1
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Requires:      perl-Razor = %{version}
 
 %description
 Vipul's Razor is a distributed, collaborative, spam detection, reporting,
@@ -43,9 +44,11 @@ Modu
 %patch -p0
 
 %build
-perl Makefile.PL
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
 %{__make}
-#%{__make} test
+
+#%%{__make} test
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -65,5 +68,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man[15]/*
 
 %files -n perl-Razor
-%{perl_sitelib}/Razor2
+%defattr(644,root,root,755)
+%{perl_vendorlib}/Razor2
 %{_mandir}/man3/*
This page took 0.028573 seconds and 4 git commands to generate.