[Bug 990423] Review Request: libsodium - A fork of networking and cryptography library with compatible APIs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=990423



--- Comment #15 from Jose Pedro Oliveira <jpo@xxxxxxxxxxxx> ---
Specfile changes based on the previous comment:

--- libsodium.spec.chris    2013-11-20 03:50:41.000000000 +0000
+++ libsodium.spec    2013-11-20 12:13:15.240043289 +0000
@@ -23,9 +23,15 @@
 %prep
 %setup -q

+# The change below, which is already merged in the upstream codebase,
+# is only needed for RHEL6 which only has pkg-config 0.23
+%if 0%{?rhel} == 6
+sed -i 's|_pkg_min_version=0.25|_pkg_min_version=0.23|g' configure
+%endif
+
 %build
 %configure --disable-static
-make %{?_smp_mflags} V=1
+make %{?_smp_mflags}

 %install
 make install DESTDIR=%{buildroot}
@@ -39,10 +45,11 @@
 %postun -p /sbin/ldconfig

 %files
-%doc AUTHORS ChangeLog LICENSE README* THANKS
+%doc AUTHORS ChangeLog LICENSE README.markdown THANKS
 %{_libdir}/libsodium.so.*

 %files devel
+%doc test/default/*.{c,h}
 %{_includedir}/sodium.h
 %{_includedir}/sodium/
 %{_libdir}/libsodium.so
@@ -51,6 +58,8 @@
 %changelog
 * Wed Nov 20 2013 Christopher Meng <rpm@xxxxxxxx> - 0.4.5-1
 - New version.
+- Package the new pkgconfig file.
+- Small specfile improvements (#990423).

 * Wed Jul 10 2013 Christopher Meng <rpm@xxxxxxxx> - 0.4.2-2
 - Drop useless files.

-- 
You are receiving this mail because:
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]