rpms/libp11/devel libp11.spec,1.15,1.16

Kalev Lember kalev at fedoraproject.org
Sun Jul 4 10:27:28 UTC 2010

Author: kalev

Update of /cvs/pkgs/rpms/libp11/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv26370

Modified Files:
Log Message:
Spec file cleanup

Index: libp11.spec
RCS file: /cvs/pkgs/rpms/libp11/devel/libp11.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -p -r1.15 -r1.16
--- libp11.spec	4 Jul 2010 10:16:46 -0000	1.15
+++ libp11.spec	4 Jul 2010 10:27:28 -0000	1.16
@@ -3,14 +3,16 @@ Version:        0.2.7
 Release:        2%{?dist}
 Summary:        Library for using PKCS#11 modules
-Group:          Development/Libraries
+Group:          System Environment/Libraries
 License:        LGPLv2+
 URL:            http://www.opensc-project.org/libp11
-Source0:        http://www.opensc-project.org/files/%{name}/%{name}-%{version}.tar.gz
+Source0:        http://www.opensc-project.org/files/libp11/libp11-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  doxygen graphviz
-BuildRequires:  openssl-devel pkgconfig libtool-ltdl-devel
+BuildRequires:  libtool-ltdl-devel
+BuildRequires:  openssl-devel
+BuildRequires:  pkgconfig
 Libp11 is a library implementing a small layer on top of PKCS#11 API to
@@ -19,11 +21,11 @@ make using PKCS#11 implementations easie
 %package devel
 Summary:        Files for developing with %{name}
 Group:          Development/Libraries
-Requires:       libp11 = %{version}-%{release}
-License:        LGPLv2+
+Requires:       %{name} = %{version}-%{release}
 %description devel
-Files for developing with %{name}
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
 %setup -q
@@ -41,6 +43,9 @@ mkdir __docdir
 mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name}/api/ __docdir/
 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}/
+# Remove libtool .la files
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
@@ -55,15 +60,14 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
-%doc examples __docdir/api
-%exclude %{_libdir}/*.la
+%doc examples/ __docdir/api/
 * Sun Jul 04 2010 Kalev Lember <kalev at smartlink.ee> - 0.2.7-2
+- Spec file cleanup
 - Don't install html docs with main library package
 - Removed R: pkgconfig from -devel as it is now automatically added

More information about the scm-commits mailing list