public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/incron] epel8: Do not install service file as executable
@ 2026-11-12  2:01 Orion Poplawski
  0 siblings, 0 replies; only message in thread
From: Orion Poplawski @ 2026-11-12  2:01 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/incron
            Branch : epel8
            Commit : e022eb307c5f3d8cbd92cda356dec0509ee0e551
            Author : Orion Poplawski <orion@cora.nwra.com>
            Date   : 2017-03-30T14:53:08-06:00
            Stats  : +8/-7 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/incron/c/e022eb307c5f3d8cbd92cda356dec0509ee0e551?branch=epel8

            Log:
            Do not install service file as executable
Use %license
Cleanup spec

---
diff --git a/incron.spec b/incron.spec
index 18a5a80..2cb3555 100644
--- a/incron.spec
+++ b/incron.spec
@@ -31,14 +31,12 @@ filesystem events rather than time periods.
 make %{?_smp_mflags} CXXFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
 
 %install
-rm -rf %{buildroot}
-
 #install files manually since source Makefile tries to do it as root
 install -D -p incrond %{buildroot}%{_sbindir}/incrond
 install -D -p -m 4755 incrontab %{buildroot}%{_bindir}/incrontab
 install -d %{buildroot}%{_localstatedir}/spool/%{name}
 install -d %{buildroot}%{_sysconfdir}/%{name}.d
-install -D -p %{SOURCE1} %{buildroot}%{_unitdir}/incrond.service
+install -D -p -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/incrond.service
 install -D -p -m 0644 incron.conf.example %{buildroot}%{_sysconfdir}/%{name}.conf
 
 # install manpages
@@ -53,11 +51,9 @@ make install-man MANPATH="%{buildroot}%{_mandir}" INSTALL="install -D -p"
 %postun
 %systemd_postun_with_restart incrond.service
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%doc COPYING CHANGELOG README TODO LICENSE-GPL
+%license COPYING LICENSE-GPL
+%doc CHANGELOG README TODO
 %attr(4755,root,root) %{_bindir}/incrontab
 %{_sbindir}/incrond
 %{_unitdir}/incrond.service
@@ -70,6 +66,11 @@ rm -rf %{buildroot}
 %dir %{_sysconfdir}/%{name}.d
 
 %changelog
+* Thu Mar 30 2017 Orion Poplawski <orion@cora.nwra.com> - 0.5.12-4
+- Do not install service file as executable
+- Use %%license
+- Cleanup spec
+
 * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.12-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
 

^ 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: Do not install service file as executable Orion Poplawski

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