public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Orion Poplawski <orion@cora.nwra.com>
To: git-commits@fedoraproject.org
Subject: [rpms/incron] epel8: Do not install service file as executable
Date: Thu, 12 Nov 2026 02:01:44 GMT	[thread overview]
Message-ID: <179444890420.1.15892252735448714233.rpms-incron-e022eb307c5f@fedoraproject.org> (raw)

            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
 

                 reply	other threads:[~2026-11-12  2:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179444890420.1.15892252735448714233.rpms-incron-e022eb307c5f@fedoraproject.org \
    --to=orion@cora.nwra.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox