rebuilt with nfs4 patch, aarch64 build fix and debug package [release 0.1.10-6mamba;Tue Dec 15 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 04:18:58 +01:00
parent 2b1693f49e
commit 479d132a65
2 changed files with 63 additions and 23 deletions

View File

@ -0,0 +1,27 @@
From b92b17ecced6df463da73d6de566740cf5cd00d4 Mon Sep 17 00:00:00 2001
From: Marek Kasik <mkasik@redhat.com>
Date: Fri, 1 Feb 2013 15:19:58 +0100
Subject: [PATCH 1/2] Poll files on nfs4
Add nfs4 among polled filesystems.
https://bugzilla.gnome.org/show_bug.cgi?id=693006
---
server/gam_fs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/server/gam_fs.c b/server/gam_fs.c
index c8ca704..143a603 100644
--- a/server/gam_fs.c
+++ b/server/gam_fs.c
@@ -178,6 +178,7 @@ gam_fs_init (void)
gam_fs_set ("reiserfs", GFS_MT_DEFAULT, 0);
gam_fs_set ("novfs", GFS_MT_POLL, 30);
gam_fs_set ("nfs", GFS_MT_POLL, 5);
+ gam_fs_set ("nfs4", GFS_MT_POLL, 5);
if (stat("/etc/mtab", &mtab_sbuf) != 0)
{
GAM_DEBUG(DEBUG_INFO, "Could not stat /etc/mtab\n");
--
1.8.1.2

View File

@ -1,6 +1,6 @@
Name: libgamin
Version: 0.1.10
Release: 5mamba
Release: 6mamba
Summary: Library providing the FAM File Alteration Monitor API
Group: System/Libraries
Vendor: openmamba
@ -10,13 +10,8 @@ URL: http://www.gnome.org/~veillard/gamin
Source: http://www.gnome.org/~veillard/gamin/sources/gamin-%{version}.tar.gz
Patch0: libgamin-0.1.10-glib-2.30.patch
Patch1: libgamin-0.1.10-fix-deadlocks.patch
Patch2: libgamin-0.1.10-poll-files-on-nfs4.patch
License: LGPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Obsoletes: fam
Obsoletes: libfam
Provides: fam
Provides: libfam
Requires: %{name} >= %{version}
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libglib-devel
@ -24,6 +19,12 @@ BuildRequires: libpython-devel
BuildRequires: pkg-config
## AUTOBUILDREQ-END
BuildRequires: python
Obsoletes: fam
Obsoletes: libfam
Provides: fam
Provides: libfam
Requires: %{name} >= %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
This C library provides an API and ABI compatible file alteration monitor mechanism compatible with FAM but not dependent on a system wide daemon.
@ -47,13 +48,17 @@ Provides: fam-devel
%description devel
This C library provides an API and ABI compatible file alteration monitor mechanism compatible with FAM but not dependent on a system wide daemon.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development.
%debug_package
%prep
%setup -q -n gamin-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%build
%configure
@ -69,6 +74,26 @@ This package contains static libraries and header files need for development.
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libgamin-1.so.*
%{_libdir}/libfam.so.*
%{_libexecdir}/gam_server
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/*.h
%{_libdir}/libgamin_shared.a
%{_libdir}/libgamin-1.a
%{_libdir}/libgamin-1.la
%{_libdir}/libgamin-1.so
%{_libdir}/libfam.a
%{_libdir}/libfam.la
%{_libdir}/libfam.so
%{_libdir}/pkgconfig/*.pc
%doc ChangeLog NEWS README TODO
%files -n python-gamin
%defattr(-,root,root)
%{python_sitearch}/_gamin.a
@ -78,22 +103,10 @@ This package contains static libraries and header files need for development.
%{python_sitearch}/gamin.pyc
%{python_sitearch}/gamin.pyo
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%{_libexecdir}/gam_server
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/*.h
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%doc ChangeLog NEWS README TODO
%changelog
* Tue Dec 15 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.10-6mamba
- rebuilt with nfs4 patch, aarch64 build fix and debug package
* Tue Jun 04 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.10-5mamba
- python 2.7 mass rebuild