Neal Becker wrote, at 02/18/2008 12:12 AM +9:00:
Mamoru Tasaka wrote:
Neal Becker (nbecker) wrote, at 02/17/2008 09:37 PM +9:00:
Author: nbecker
Update of /cvs/pkgs/rpms/igraph/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15891
Modified Files:
igraph.spec
Log Message:
Add provides to devel package
Index: igraph.spec
===================================================================
RCS file: /cvs/pkgs/rpms/igraph/devel/igraph.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- igraph.spec 16 Feb 2008 20:29:53 -0000 1.10
+++ igraph.spec 17 Feb 2008 12:36:16 -0000 1.11
@@ -1,6 +1,6 @@
Name: igraph
Version: 0.5
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Library for creating and manipulating graphs
Group: System Environment/Libraries
@@ -27,6 +27,7 @@
Requires: %{name} = %{version}-%{release}, pkgconfig
Group: Development/Libraries
Summary: Development files for igraph
+Provides: %{name}-%{version}
%description devel
The %{name}-devel package contains the header files and some
@@ -85,6 +86,9 @@
%doc examples
%changelog
+* Sun Feb 17 2008 Neal Becker <ndbecker2@xxxxxxxxx> - 0.5-7
+- Add provides to devel package
+
* Sat Feb 16 2008 Neal Becker <ndbecker2@xxxxxxxxx> - 0.5-6
- fix patch
Well, what is this strange Provides needed?
Regards,
Mamoru
python-igraph BR igraph-devel
python-igraph Req igraph
Is there something strange?
Yes, strange. Because (from checking the latest spec file)
in igraph spec you write
----------------------------------------------------
+Provides: %{name}-%{version}
----------------------------------------------------
Obviously, this is expanded as "Provides: igraph-0.5". Why do you
want this Provides? Also, from your newest igraph spec file igraph-devel
provides: "Provides: igraph-devel-0.5".
Note that a rpm with a EVR always provides "Provides: <the name of rpm> =
%{?epoch:%epoch:}%{version}" as well as "Provides: <the name of rpm> =
%{?epoch:%epoch:}%{version}-%{release}". i.e.
just writing "BuildRequires: igraph-devel = 0.5" in python-igraph should work.
Regards,
Mamoru
--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list