From 38f8de8112ef200bca1c8851a19ebec5e08ee5eb Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 10 Nov 2023 10:51:41 +0100 Subject: Release 1.1.0 --- package.xml | 2 +- php_rpminfo.h | 10 +--------- rpminfo.c | 2 +- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/package.xml b/package.xml index 515cb66..a9fb372 100644 --- a/package.xml +++ b/package.xml @@ -15,7 +15,7 @@ Documentation: https://www.php.net/rpminfo 2023-11-10 - 1.1.0dev + 1.1.0 1.0.0 diff --git a/php_rpminfo.h b/php_rpminfo.h index eaf7451..49a25fc 100644 --- a/php_rpminfo.h +++ b/php_rpminfo.h @@ -22,15 +22,7 @@ extern zend_module_entry rpminfo_module_entry; #define phpext_rpminfo_ptr &rpminfo_module_entry -#define PHP_RPMINFO_VERSION "1.1.0-dev" - -#ifdef PHP_WIN32 -# define PHP_RPMINFO_API __declspec(dllexport) -#elif defined(__GNUC__) && __GNUC__ >= 4 -# define PHP_RPMINFO_API __attribute__ ((visibility("default"))) -#else -# define PHP_RPMINFO_API -#endif +#define PHP_RPMINFO_VERSION "1.1.0" #ifdef ZTS #include "TSRM.h" diff --git a/rpminfo.c b/rpminfo.c index 08ba780..8cfac4d 100644 --- a/rpminfo.c +++ b/rpminfo.c @@ -857,7 +857,7 @@ PHP_FUNCTION(rpmgetsymlink) fi = rpmfiNewArchiveReader(gzdi, files, RPMFI_ITER_READ_ARCHIVE); rc = rpmfiFindFN(fi, name); - rpmfiSetFX(fi, rc); /* return value not reliable on librpm < 4.17 */ + rpmfiSetFX(fi, rc); /* return value have change in 4.18 (from previous to new) */ if (rc < 0 || rpmfiFX(fi) != rc || (link = rpmfiFLink(fi)) == NULL) { -- cgit