Update to version 1.0.3 (#1962959)

This commit is contained in:
Richard Lescak 2021-05-25 11:10:43 +02:00
parent 5aa40fc682
commit 80cdc6d72c
4 changed files with 6 additions and 21 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/pappl-1.0.2.tar.gz
/pappl-1.0.3.tar.gz

View File

@ -1,16 +0,0 @@
diff --git a/pappl/system-accessors.c b/pappl/system-accessors.c
index fa51f5a..d1c27f3 100644
--- a/pappl/system-accessors.c
+++ b/pappl/system-accessors.c
@@ -1430,7 +1430,8 @@ papplSystemSetHostname(
_pappl_dns_sd_t master = _papplDNSSDInit(system);
// DNS-SD master reference
- avahi_client_set_host_name(master, value);
+ if (master)
+ avahi_client_set_host_name(master, value);
#endif // HAVE_AVAHI
sethostname(value, (int)strlen(value));

View File

@ -9,7 +9,7 @@
Summary: Printer Application Framework (PAPPL)
Name: pappl
Version: 1.0.2
Version: 1.0.3
Release: 1%{?dist}
License: ASL 2.0
Source: https://github.com/michaelrsweet/pappl/releases/download/v%{version}/pappl-%{version}.tar.gz
@ -29,9 +29,6 @@ BuildRequires: pkgconfig
BuildRequires: pam-devel
BuildRequires: zlib-devel
# Fix for tests on systems without running Avahi.
Patch01: pappl-1.0.2-Fix-testpappl-abort-on-Linux-Issue-159.patch
%description
PAPPL is a simple C-based framework/library for developing CUPS Printer
Applications, which are the recommended replacement for printer drivers.
@ -88,6 +85,9 @@ make test
%{_libdir}/pkgconfig/pappl.pc
%changelog
* Tue May 25 2021 Richard Lescak rlescak@redhat.com - 1.0.3-1
- Update to version 1.0.3 (#1962959)
* Tue Apr 13 2021 Richard Lescak rlescak@redhat.com - 1.0.2-2
- Added patch to fix tests, added DSOFLAGS in build, made changes according to review.

View File

@ -1 +1 @@
SHA512 (pappl-1.0.2.tar.gz) = 3ef4c6a9772b09a676f2e7d47d09e13be09aec309ad8a6e5f29360dfa229fa532987a33c7e51a4a03c10ff0e4b530fdc5cfc8a5dd5e85afd80dbee36ebde946f
SHA512 (pappl-1.0.3.tar.gz) = 16b405a474bb5e041b56d9506d663f816ad815e7205411aea77a875835444bd942282f94bde5cc12fefc6405a0e35568038a37f5edf0427ab10fd7f091b01625