summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package.xml2
-rw-r--r--php_rpminfo.h10
-rw-r--r--rpminfo.c2
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
</lead>
<date>2023-11-10</date>
<version>
- <release>1.1.0dev</release>
+ <release>1.1.0</release>
<api>1.0.0</api>
</version>
<stability>
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) {