]> git.pld-linux.org Git - packages/perl-Math-Quaternion.git/blobdiff - perl-Math-Quaternion.spec
- fixed perl-devel BR
[packages/perl-Math-Quaternion.git] / perl-Math-Quaternion.spec
index 849808a92dfff9a9b6d0af9dfd02ed8b1b9efefa..4d461136c5681e83121c3d7d2855e22442729950 100644 (file)
@@ -1,27 +1,26 @@
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
+%bcond_without tests   # do not perform "make test"
 #
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    Math
 %define        pnam    Quaternion
 Summary:       Math::Quaternion - Perl class to represent quaternions
-Summary(pl):   Math::Quaternion - klasa Perla do reprezentowanai kwaternionów
+Summary(pl):   Math::Quaternion - klasa Perla do reprezentowania kwaternionów
 Name:          perl-Math-Quaternion
 Version:       0.01
 Release:       1
+# same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: afb5a960eb511d572a323608c42d7b11
-BuildRequires: perl-devel >= 5.8.0
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
-%{!?_without_tests:BuildRequires:      perl-Test-Simple}
+%{?with_tests:BuildRequires:   perl-Test-Simple}
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _noautoreq      "perl(anything_fake_or_conditional)"
-
 %description
 This package lets you create and manipulate quaternions. A
 quaternion is a mathematical object developed as a kind of
@@ -42,10 +41,9 @@ obrot
 %build
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
-
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.080018 seconds and 4 git commands to generate.