#1 Update to 1.0.3.
Merged 3 months ago by limb. Opened 3 months ago by kathenas.

file modified
+1

@@ -1,1 +1,2 @@

  /libstorj-1.0.2.tar.gz

+ /libstorj-1.0.3.tar.gz

file modified
+22 -14

@@ -1,18 +1,19 @@

  Name: libstorj

- Version: 1.0.2

- Release: 7%{?dist}

- URL:     https://github.com/Storj/libstorj/

+ Version: 1.0.3

+ Release: 1%{?dist}

  Summary: Client library and CLI for encrypted file transfer on the Storj network

  License: LGPLv2+

+ URL:     https://github.com/Storj/libstorj/

  Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz

- BuildRequires: gcc

- BuildRequires: pkgconfig(libuv)

- BuildRequires: pkgconfig(libmicrohttpd)

+ 

  BuildRequires: autoconf

  BuildRequires: automake

+ BuildRequires: gcc

  BuildRequires: libtool

- BuildRequires: pkgconfig(libcurl)

  BuildRequires: pkgconfig(json-c)

+ BuildRequires: pkgconfig(libcurl)

+ BuildRequires: pkgconfig(libmicrohttpd)

+ BuildRequires: pkgconfig(libuv)

  

  %package devel

  Summary: Development files for libstorj

@@ -29,7 +30,7 @@

  This package contains files needed to compile code using libstorj.

  

  %prep

- %setup -q

+ %autosetup

  

  %build

  autoreconf -vif

@@ -39,24 +40,31 @@

  %install

  %make_install

  

- #remove static libs

- rm -f $RPM_BUILD_ROOT/%{_libdir}/libstorj*a

- 

  %ldconfig_scriptlets

  

  %files

  %license LICENSE

  %doc README.md

  %{_bindir}/storj

- %{_libdir}/*.so.*

+ %{_libdir}/libstorj.so.0

+ %{_libdir}/libstorj.so.0.0.0

  

  %files devel

+ # Exclude static library files from package.

+ %exclude %{_libdir}/libstorj.a

+ %exclude %{_libdir}/libstorj.la

  %doc README.md

- %{_libdir}/*.so

- %{_includedir}/*

+ %{_includedir}/storj.h

+ %{_libdir}/libstorj.so

  %{_libdir}/pkgconfig/libstorj.pc

  

  %changelog

+ * Mon Jun 17 2019 Phil Wyett <philwyett@kathenas.org> - 1.0.3-1

+ - Use %%autosetup.

+ - Use %%exclude rather than rm for static lib files.

+ - Clean-ups and small lib need not wildcard for one file in a folder etc.

+ - Update to 1.0.3.

+ 

  * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-7

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

  

file modified
+1 -1

@@ -1,1 +1,1 @@

- SHA512 (libstorj-1.0.2.tar.gz) = 6cd1c880e9135f04b6bc41d2c9e19ea139f8830b801943aa22eba162d6fb78a8b7cfc394a2c4ef501245e3171baf9b49afa03771a3aac9aa0b55d6e2fb904da1

+ SHA512 (libstorj-1.0.3.tar.gz) = f6f81a41a8af1659a48051bd15ef1187770c4194bfeafb0bf5710173da35f5eab4ca11ed375a8ff5c72993c44743c14c31dd20ad3641a376d4717e8cd7f27031

Use %autosetup.
Use %exclude rather than rm for static lib files.
Clean-ups and small lib need not wildcard for one file in a folder etc.
Update to 1.0.3.

Pull-Request has been merged by limb

3 months ago