public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/incron] epel8: Update to 0.5.10
@ 2026-11-12  2:01 Kevin Fenzi
  0 siblings, 0 replies; only message in thread
From: Kevin Fenzi @ 2026-11-12  2:01 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/incron
            Branch : epel8
            Commit : 5bf6ce74c7754ab8e354fc3dc6e08caab43f9b8c
            Author : Kevin Fenzi <kevin@scrye.com>
            Date   : 2012-08-26T11:09:50-06:00
            Stats  : +13/-41 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/incron/c/5bf6ce74c7754ab8e354fc3dc6e08caab43f9b8c?branch=epel8

            Log:
            Update to 0.5.10

- Add systemd macros for presets. Fixes bug #850158

---
diff --git a/.gitignore b/.gitignore
index e1d879f..c320e49 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 incron-0.5.9.tar.bz2
+/incron-0.5.10.tar.bz2

diff --git a/incron.spec b/incron.spec
index 3b0c9ce..99a5cb6 100644
--- a/incron.spec
+++ b/incron.spec
@@ -1,24 +1,20 @@
 Summary:     Inotify cron system
 Name:        incron
-Version:     0.5.9
-Release:     5%{?dist}
+Version:     0.5.10
+Release:     1%{?dist}
 
 Group:       System Environment/Base          
 License:     GPLv2
 URL:         http://inotify.aiken.cz
 Source0:     http://inotify.aiken.cz/download/incron/%{name}-%{version}.tar.bz2
 Source1:     incrond.service
-Patch0:      incron-gcc44.patch
-Patch1:      incron-gcc47.patch
+Patch0:      incron-0.5.10-gcc.patch
 BuildRoot:   %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-#Requires(post):   /sbin/chkconfig
-#Requires(preun):  /sbin/chkconfig, /sbin/service
 Requires(post): systemd-units
 Requires(preun): systemd-units
 Requires(postun): systemd-units
 
-
 %description
 This program is an "inotify cron" system.
 It consists of a daemon and a table manipulator.
@@ -28,13 +24,11 @@ filesystem events rather than time periods.
 
 %prep
 %setup -q
-%patch0 -p1 -b .orig
-%patch1 -p0 -b .gcc47
+%patch0 -p1 -b .gcc
 
 %build
 make %{?_smp_mflags} CXXFLAGS="%{optflags}"
 
-
 %install
 rm -rf %{buildroot}
 
@@ -50,37 +44,13 @@ install -D -p -m 0644 incron.conf.example %{buildroot}%{_sysconfdir}/%{name}.con
 make install-man MANPATH="%{buildroot}%{_mandir}" INSTALL="install -D -p"
 
 %post
-#if [ $1 -eq 1 ]; then
-#    /sbin/chkconfig --add incrond
-#fi
-if [ $1 -eq 1 ] ; then 
-    # Initial installation 
-    /bin/systemctl daemon-reload >/dev/null 2>&1 || :
-fi
-
+%systemd_post incrond.service
 
 %preun
-#if [ $1 -eq 0 ]; then
-#        /sbin/service %{name} stop >/dev/null 2>&1 || :
-#        /sbin/chkconfig --del incrond
-#fi
-if [ $1 -eq 0 ] ; then
-    # Package removal, not upgrade
-    /bin/systemctl --no-reload disable incrond.service > /dev/null 2>&1 || :
-    /bin/systemctl stop incrond.service > /dev/null 2>&1 || :
-fi
-
+%systemd_preun incrond.service
 
 %postun
-#if [ $1 -ge 1 ]; then
-#        /sbin/service incrond condrestart >/dev/null 2>&1 || :
-#fi
-/bin/systemctl daemon-reload >/dev/null 2>&1 || :
-if [ $1 -ge 1 ] ; then
-    # Package upgrade, not uninstall
-    /bin/systemctl try-restart incrond.service >/dev/null 2>&1 || :
-fi
-
+%systemd_postun_with_restart incrond.service
 
 %triggerun -- incron < 0.5.9-4
 # Save the current service runlevel info
@@ -92,7 +62,6 @@ fi
 /sbin/chkconfig --del incrond >/dev/null 2>&1 || :
 /bin/systemctl try-restart incrond.service >/dev/null 2>&1 || :
 
-
 %clean
 rm -rf %{buildroot}
 
@@ -110,9 +79,11 @@ rm -rf %{buildroot}
 %dir %{_sysconfdir}/%{name}.d
 %doc COPYING CHANGELOG README TODO LICENSE-GPL
 
-
-
 %changelog
+* Sat Aug 25 2012 Kevin Fenzi <kevin@scrye.com> 0.5.10-1
+- Update to 0.5.10
+- Add systemd macros for presets. Fixes bug #850158
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.9-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 

diff --git a/sources b/sources
index 49f24c1..ef2326e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ccae2ca5cb4b142be002ab482250fb5f  incron-0.5.9.tar.bz2
+038190dc64568883a206f3d58269b850  incron-0.5.10.tar.bz2

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-12  2:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-12  2:01 [rpms/incron] epel8: Update to 0.5.10 Kevin Fenzi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox