commit 0bb9bf5c72422d31fd429f8a58ca50d6c2c62892
Author: Adam Gołębiowski <ad...@pld-linux.org>
Date:   Tue Aug 6 11:03:11 2019 +0200

    - updated to 20190516 snap (required by ffmpeg-4.2)

 libmysofa-pc.patch | 33 ---------------------------------
 libmysofa.spec     | 13 +++++++------
 2 files changed, 7 insertions(+), 39 deletions(-)
---
diff --git a/libmysofa.spec b/libmysofa.spec
index 777c10f..fb0d43e 100644
--- a/libmysofa.spec
+++ b/libmysofa.spec
@@ -1,14 +1,16 @@
+%define                snap    20190516
+%define                githash 3dba53f9c14795b109577519a0df2e25e15fcd6a
+%define                rel     1
 Summary:       Library to read AES SOFA files
 Summary(pl.UTF-8):     Biblioteka do odczytu plików AES SOFA
 Name:          libmysofa
 Version:       0.7
-Release:       2
+Release:       2.%{snap}.%{rel}
 License:       BSD
 Group:         Libraries
 #Source0Download: https://github.com/hoene/libmysofa/releases
-Source0:       
https://github.com/hoene/libmysofa/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 2711bb53924cd086b625e9aab84d195f
-Patch0:                %{name}-pc.patch
+Source0:       
https://github.com/hoene/libmysofa/archive/%{githash}/%{name}-%{snap}.tar.gz
+# Source0-md5: 71df8b1badcb2369db1ab1ef7244fe49
 URL:           https://github.com/hoene/libmysofa
 BuildRequires: CUnit
 BuildRequires: cmake >= 2.8
@@ -50,8 +52,7 @@ Static libmysofa library.
 Statyczna biblioteka libmysofa.
 
 %prep
-%setup -q
-%patch0 -p1
+%setup -q -n %{name}-%{githash}
 
 %build
 install -d build
diff --git a/libmysofa-pc.patch b/libmysofa-pc.patch
deleted file mode 100644
index 5a47dbd..0000000
--- a/libmysofa-pc.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- libmysofa-0.7/libmysofa.pc.cmake.orig      2019-03-31 17:16:24.000000000 
+0200
-+++ libmysofa-0.7/libmysofa.pc.cmake   2019-07-23 06:26:11.184737290 +0200
-@@ -3,8 +3,8 @@
- Version: @PROJECT_VERSION@
- Requires: @PKG_CONFIG_REQUIRES@
- prefix=@CMAKE_INSTALL_PREFIX@
--includedir=${prefix}/include
--libdir=${prefix}/lib
-+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
-+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
- Libs: -L${libdir} -lmysofa
- Cflags: -I${includedir}
- 
---- libmysofa-0.7/CMakeLists.txt.orig  2019-03-31 17:16:24.000000000 +0200
-+++ libmysofa-0.7/CMakeLists.txt       2019-07-23 06:33:15.395772475 +0200
-@@ -15,8 +15,8 @@
- SET(CPACK_GENERATOR "DEB")
- SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "IOhannes m zmölnig")
- SET(CPACK_PACKAGE_VERSION_MAJOR "0")
--SET(CPACK_PACKAGE_VERSION_MINOR "5")
--SET(CPACK_PACKAGE_VERSION_PATCH "1")
-+SET(CPACK_PACKAGE_VERSION_MINOR "7")
-+SET(CPACK_PACKAGE_VERSION_PATCH "0")
- SET(CPACK_DEBIAN_PACKAGE_DEPENDS "zlib1g")
- 
- SET(PKG_CONFIG_PRIVATELIBS "")
-@@ -67,5 +67,5 @@
- )
- install(FILES
-   "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc"
--  DESTINATION "lib/pkgconfig"
-+  DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig"
- )
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libmysofa.git/commitdiff/0bb9bf5c72422d31fd429f8a58ca50d6c2c62892

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to