Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 662967 Details for
Bug 850335
Introduce new systemd-rpm macros in targetcli spec file
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch replaces scriptlets with new systemd macros
macro.patch (text/plain), 1.52 KB, created by
Lukáš Nykrýn
on 2012-12-13 13:30:18 UTC
(
hide
)
Description:
Patch replaces scriptlets with new systemd macros
Filename:
MIME Type:
Creator:
Lukáš Nykrýn
Created:
2012-12-13 13:30:18 UTC
Size:
1.52 KB
patch
obsolete
>diff --git a/targetcli.spec b/targetcli.spec >index 3be5cce..ac81855 100644 >--- a/targetcli.spec >+++ b/targetcli.spec >@@ -5,7 +5,7 @@ License: AGPLv3 > Group: System Environment/Libraries > Summary: An administration shell for storage targets > Version: 2.0rc1.fb17 >-Release: 1%{?dist} >+Release: 2%{?dist} > URL: https://github.com/agrover/targetcli-fb > Source: https://github.com/downloads/agrover/%{oname}/%{oname}-%{version}.tar.gz > Source1: targetcli.service >@@ -14,7 +14,9 @@ BuildArch: noarch > BuildRequires: python-devel python-rtslib python-configshell epydoc > BuildRequires: systemd-units > Requires: python-rtslib >= 2.1.fb20, python-configshell >-Requires(post): systemd-units >+Requires(post): systemd >+Requires(preun): systemd >+Requires(postun): systemd > > > %description >@@ -43,10 +45,13 @@ install -m 644 targetcli.8.gz %{buildroot}%{_mandir}/man8/ > rm -rf %{buildroot} > > %post >-if [ $1 -eq 1 ] ; then >- # Initial installation >- /bin/systemctl enable targetcli.service >/dev/null 2>&1 || : >-fi >+%systemd_post targetcli.service >+ >+%preun >+%systemd_preun targetcli.service >+ >+%postun >+%systemd_postun_with_restart targetcli.service > > %files > %defattr(-,root,root,-) >@@ -59,6 +64,9 @@ fi > %{_mandir}/man8/targetcli.8.gz > > %changelog >+* Thu Dec 13 2012 Lukáš Nykrýn <lnykryn@redhat.com> - 2.0rc1.fb17-2 >+- Scriptlets replaced with new systemd macros (#850335) >+ > * Mon Nov 12 2012 Andy Grover <agrover@redhat.com> - 2.0rc1.fb17-1 > - New upstream release >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 850335
: 662967