rpms/perl-Crypt-DH/devel perl-Crypt-DH.spec,1.3,1.4

Paul Howarth (pghmcfc) fedora-extras-commits at redhat.com
Thu Feb 16 07:14:36 UTC 2006


Author: pghmcfc

Update of /cvs/extras/rpms/perl-Crypt-DH/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15546

Modified Files:
	perl-Crypt-DH.spec 
Log Message:
Ralf was right all along



Index: perl-Crypt-DH.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Crypt-DH/devel/perl-Crypt-DH.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- perl-Crypt-DH.spec	12 Dec 2005 14:09:13 -0000	1.3
+++ perl-Crypt-DH.spec	16 Feb 2006 07:14:36 -0000	1.4
@@ -1,13 +1,10 @@
 # To skip the lengthy test suite, use:
 # rpmbuild --without checks
-%{!?bcond_with:%define bcond_with() %{expand:%%{?_with_%{1}:%%global with_%{1} 1}}}
-%{!?bcond_without:%define bcond_without() %{expand:%%{!?_without_%{1}:%%global with_%{1} 1}}}
-%bcond_without checks
 
 Summary:	Perl module implementing the Diffie-Hellman key exchange system
 Name:		perl-Crypt-DH
 Version:	0.06
-Release:	3%{?dist}
+Release:	4%{?dist}
 License:	GPL or Artistic
 Group:		Development/Libraries
 Url:		http://search.cpan.org/dist/Crypt-DH/
@@ -31,7 +28,7 @@
 %{__make} %{?_smp_mflags}
 
 %check
-%{?with_checks:%{__make} test}
+%{!?_without_checks:%{__make} test}
 
 %install
 %{__rm} -rf %{buildroot}
@@ -50,6 +47,9 @@
 %{_mandir}/man3/Crypt::DH.3pm*
 
 %changelog
+* Thu Feb 16 2006 Paul Howarth <paul at city-fan.org> 0.06-4
+- Simplify conditional build by not using %%bcond_* macros
+
 * Mon Dec 12 2005 Paul Howarth <paul at city-fan.org> 0.06-3
 - Add support for FC-3, which doesn't have %%bcond_with{,out} predefined
 




More information about the fedora-extras-commits mailing list