rpms/libnet10/devel libnet10.spec,1.7,1.8

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Sun Aug 28 17:39:33 UTC 2005


Author: mschwendt

Update of /cvs/extras/rpms/libnet10/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29323

Modified Files:
	libnet10.spec 
Log Message:
Prepare upgrade path for new libnet package, but don't build this yet (neither for FC-4 and older). Due to different packaging styles, the new libnet which is currently under review would conflict and not upgrade this. It may still decide to obsolete this libnet10 package, though.


Index: libnet10.spec
===================================================================
RCS file: /cvs/extras/rpms/libnet10/devel/libnet10.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- libnet10.spec	23 May 2005 00:03:09 -0000	1.7
+++ libnet10.spec	28 Aug 2005 17:39:31 -0000	1.8
@@ -1,8 +1,7 @@
 Summary:        High-level API (toolkit) to construct and inject network packets
 Name:           libnet10
 Version:        1.0.2a
-Release: 7
-
+Release:        8%{?dist}
 URL:            http://www.packetfactory.net/libnet/
 License:        BSD
 Group:          System Environment/Libraries
@@ -10,7 +9,9 @@
 Patch0:         gcc33.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Obsoletes:      libnet < 1.1.0
+Obsoletes:      libnet-devel < 1.1.0
 Provides:       libnet = %{version}-%{release}
+Provides:       libnet-devel = %{version}-%{release}
 
 %description
 Libnet is a high-level API (toolkit) allowing the application programmer to
@@ -35,7 +36,7 @@
 
 %build
 %configure
-make %{?_smp_mflags}
+make %{?_smp_mflags} CFLAGS="${RPM_OPT_FLAGS}"
 
 
 
@@ -69,6 +70,11 @@
 
 
 %changelog
+* Sun Aug 28 2005 Micahel Schwendt <mschwendt[AT]users.sf.net> - 1.0.2a-8
+- add versioned Obsoletes/Provides for libnet and libnet-devel
+  so libnet/libnet-devel >= 1.1.0 upgrade this and don't just conflict
+- pass CFLAGS to make explicitly
+
 * Sun May 22 2005 Jeremy Katz <katzj at redhat.com> - 1.0.2a-7
 - rebuild on all arches
 




More information about the scm-commits mailing list