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 609886 Details for
Bug 850065
Introduce new systemd-rpm macros in conman 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
conman.spec (text/plain), 6.21 KB, created by
Václav Pavlín
on 2012-09-05 07:54:01 UTC
(
hide
)
Description:
Patch replaces scriptlets with new systemd macros
Filename:
MIME Type:
Creator:
Václav Pavlín
Created:
2012-09-05 07:54:01 UTC
Size:
6.21 KB
patch
obsolete
>Name: conman >Version: 0.2.7 >Release: 3%{?dist} >Summary: ConMan - The Console Manager > >Group: Applications/System >License: GPLv2+ >URL: http://home.gna.org/conman/ >Source0: http://download.gna.org/%{name}/%{version}/%{name}-%{version}.tar.bz2 >Source1: %{name}.service >Source2: %{name}.logrotate >BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) > >Requires: logrotate >Requires(post): systemd-units >Requires(preun): systemd-units >Requires(postun): systemd-units >BuildRequires: tcp_wrappers > >%description >ConMan is a serial console management program designed to support a large >number of console devices and simultaneous users. It currently supports >local serial devices and remote terminal servers (via the telnet protocol). >Its features include: > > - mapping symbolic names to console devices > - logging all output from a console device to file > - supporting monitor (R/O), interactive (R/W), and > broadcast (W/O) modes of console access > - allowing clients to join or steal console "write" privileges > - executing Expect scripts across multiple consoles in parallel > >%prep >%setup -q > >%build ># not really lib material, more like share >mv lib share >chmod -x share/examples/*.exp >%{__perl} -pi.orig -e 's|cd lib|cd share|g' \ > Makefile.in >%{__perl} -pi -e 's|lib\/|share\/|g' \ > Makefile.in share/examples/*.exp ># don't strip the bins on install, let find-debug.sh do it >%{__perl} -pi -e 's|-m 755 -s conman|-m 755 conman|g' \ > Makefile.in > >%configure --with-tcp-wrappers >make %{?_smp_mflags} > >%install >rm -rf $RPM_BUILD_ROOT >make install DESTDIR=$RPM_BUILD_ROOT ># put in our own initscript and logrotate >install -D -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir}/%{name}.service >rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/init.d >install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/%{name} ># make log directories >mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/%{name} >mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/%{name}.old ># examples don't belong in datadir... >rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/examples ># these shouldn't be executable >chmod -x $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name} ># adjust perms on main config file >chmod 644 $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf > >%clean >rm -rf "$RPM_BUILD_ROOT" > >%post >%systemd_post conman.service > >%preun >%systemd_preun conman.service > >%postun >%systemd_postun_with_restart conman.service > >%triggerun -- conman < 0.2.7-1 ># Save the current service runlevel info ># User must manually run systemd-sysv-convert --apply conman ># to migrate them to systemd targets >/usr/bin/systemd-sysv-convert --save conman >/dev/null 2>&1 ||: > ># Run these because the SysV package being removed won't do them >/sbin/chkconfig --del conman >/dev/null 2>&1 || : >/bin/systemctl try-restart conman.service >/dev/null 2>&1 || : > >%files >%defattr(-,root,root,-) >%doc AUTHORS ChangeLog COPYING FAQ NEWS >%doc share/examples >%config(noreplace) %{_sysconfdir}/%{name}.conf >%config(noreplace) %{_sysconfdir}/sysconfig/%{name} >%config(noreplace) %{_sysconfdir}/logrotate.d/%{name} >%{_unitdir}/%{name}.service >%{_localstatedir}/log/%{name} >%{_localstatedir}/log/%{name}.old >%{_bindir}/* >%{_sbindir}/* >%{_datadir}/%{name} >%{_mandir}/*/* > >%changelog >* Wed Sep 05 2012 Václav PavlÃn <vpavlin@redhat.com> - 0.2.7-3 >- rebuilt > >* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-2 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild > >* Tue Apr 17 2012 Jon Ciesla <limburgher@gmail.com> - 0.2.7-1 >- Migrate to systemd, BZ 771474. > >* Sun Apr 15 2012 Steven M. Parrish <smparrish@gmail.com> - 0.2.7-0 >- New upstream release > >* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-4 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild > >* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-3 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild > >* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.5-2 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild > >* Mon Jun 08 2009 Steven M. Parrish <tuxbrewr@fedoraproject.org> - 0.2.5-0 >- New upstream release > >* Mon Apr 20 2009 Steven M. Parrish <tuxbrewr@fedoraproject.org> - 0.2.4.1-1 >- New upstream release > >* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-3 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild > >* Mon Oct 06 2008 Jarod Wilson <jarod@redhat.com> 0.2.2-2 >- The console option in conman.conf is case-insensitive, so relax > defined consoles check in initscript (Mark McLoughlin, #465777) > >* Mon Sep 08 2008 Steven M. Parrish <smparrish@shallowcreek.net> 0.2.2-1 >- New upstream release > >* Fri May 02 2008 Jarod Wilson <jwilson@redhat.com> 0.2.1-1 >- New upstream release > >* Wed Feb 13 2008 Jarod Wilson <jwilson@redhat.com> 0.1.9.2-8 >- Bump and rebuild for gcc 4.3 > >* Thu Apr 26 2007 Jarod Wilson <jwilson@redhat.com> 0.1.9.2-7 >- Update project urls >- Fix up initscript exit codes (#237936) > >* Tue Sep 05 2006 Jarod Wilson <jwilson@redhat.com> 0.1.9.2-6 >- Bump for new glibc > >* Fri Jul 28 2006 Jarod Wilson <jwilson@redhat.com> 0.1.9.2-5 >- Properly enable smp_mflags this time > >* Fri Jul 28 2006 Jarod Wilson <jwilson@redhat.com> 0.1.9.2-4 >- Add Reqs on chkconfig and service >- Turn on smp_mflags >- Initial build for RHEL5 > >* Wed Jul 05 2006 Jarod Wilson <jwilson@redhat.com> 0.1.9.2-3 >- Add missing condrestart fuction to initscript > >* Tue Jun 27 2006 Jarod Wilson <jwilson@redhat.com> 0.1.9.2-2 >- Don't strip bins on make install, leave for find-debug.sh > >* Tue Jun 27 2006 Jarod Wilson <jwilson@redhat.com> 0.1.9.2-1 >- Update to 0.1.9.2 > >* Tue Jun 20 2006 Jarod Wilson <jwilson@redhat.com> 0.1.9.1-3 >- Add Requires: logrotate >- Ugh, conmand exits cleanly if no CONSOLE(s) are defined in > /etc/conman.conf, add check to initscript to report failure > if none are defined > >* Wed Jun 14 2006 Jarod Wilson <jwilson@redhat.com> 0.1.9.1-2 >- Create log directories and install working logrotate config >- Use a much cleaner RH/FC-specific initscript > >* Tue Jun 13 2006 Jarod Wilson <jwilson@redhat.com> 0.1.9.1-1 >- Initial build for Fedora Extras
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 850065
:
609886
|
609888