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 656884 Details for
Bug 869639
[RFE:EPEL] Is it possible to get deluge in EPEL as well?
[?]
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 to modify specfile for EL6
deluge-el6.patch (text/plain), 4.20 KB, created by
jcpunk
on 2012-12-03 18:30:41 UTC
(
hide
)
Description:
patch to modify specfile for EL6
Filename:
MIME Type:
Creator:
jcpunk
Created:
2012-12-03 18:30:41 UTC
Size:
4.20 KB
patch
obsolete
>--- deluge.spec.fc18 2012-12-03 09:59:41.451499877 -0600 >+++ deluge.spec 2012-12-03 12:23:12.444497181 -0600 >@@ -1,6 +1,6 @@ > Name: deluge > Version: 1.3.5 >-Release: 2%{?dist} >+Release: 3%{?dist} > Summary: A GTK+ BitTorrent client with support for DHT, UPnP, and PEX > Group: Applications/Internet > License: GPLv3 with exceptions >@@ -9,9 +9,12 @@ Source0: http://download.deluge-t > ## The scalable icon needs to be installed to the proper place. > Source1: deluge-daemon.service > Source2: deluge-web.service >+Source3: deluge-daemon-init > Patch0: %{name}-scalable-icon-dir.diff > > BuildArch: noarch >+%define debug_package %{nil} >+ > BuildRequires: desktop-file-utils > BuildRequires: python-devel > BuildRequires: python-setuptools >@@ -101,10 +104,17 @@ Group: Applications/Internet > License: GPLv3 with exceptions > Requires: %{name}-common = %{version}-%{release} > Requires(pre): shadow-utils >+%if 0%{?el6} >+Requires(post): chkconfig >+Requires(preun): chkconfig >+Requires(preun): initscripts >+Requires(postun): initscripts >+%else > Requires(post): systemd-units > Requires(preun): systemd-units > Requires(postun): systemd-units > Requires(post): systemd-sysv >+%endif > > %description daemon > Files for the Deluge daemon >@@ -117,9 +127,14 @@ Files for the Deluge daemon > CFLAGS="%{optflags}" %{__python} setup.py build > > %install >+%if 0%{?el6} >+mkdir -p %{buildroot}%{_initddir} >+install -m755 %{SOURCE3} %{buildroot}%{_initddir}/%{name}-daemon >+%else > mkdir -p %{buildroot}%{_unitdir} > install -m644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}-daemon.service > install -m644 %{SOURCE2} %{buildroot}%{_unitdir}/%{name}-web.service >+%endif > mkdir -p %{buildroot}/var/lib/%{name} > > %{__python} setup.py install -O1 --skip-build --root %{buildroot} >@@ -214,11 +229,17 @@ rm -f ${buildroot}%{python_sitelib}/%{na > %{_bindir}/%{name}-web > %{python_sitelib}/%{name}/ui/web > %{_mandir}/man?/%{name}-web* >+%if ! 0%{?el6} > %{_unitdir}/%{name}-web.service >+%endif > > %files daemon > %{_bindir}/%{name}d >+%if 0%{?el6} >+%{_initddir}/%{name}-daemon >+%else > %{_unitdir}/%{name}-daemon.service >+%endif > %attr(-,%{name}, %{name})/var/lib/%{name}/ > %{_mandir}/man?/%{name}d* > >@@ -232,14 +253,22 @@ exit 0 > > %post daemon > if [ $1 -eq 1 ] ; then >+%if 0%{?el6} >+ /sbin/chkconfig --add %{name}-daemon >+%else > # Initial installation > /bin/systemctl daemon-reload >/dev/null 2>&1 || : >+%endif > fi > > %post web > if [ $1 -eq 1 ] ; then >+%if 0%{?el6} >+ /bin/true >+%else > # Initial installation > /bin/systemctl daemon-reload >/dev/null 2>&1 || : >+%endif > fi > > %post gtk >@@ -250,32 +279,49 @@ touch --no-create %{_datadir}/icons/hico > > %preun daemon > if [ $1 -eq 0 ] ; then >+%if 0%{?el6} >+ /sbin/service %{name}-daemon stop >/dev/null 2>&1 >+ /sbin/chkconfig --del %{name}-daemon >+%else > # Package removal, not upgrade > /bin/systemctl --no-reload disable deluge-daemon.service > /dev/null 2>&1 || : > /bin/systemctl stop deluge-daemon.service > /dev/null 2>&1 || : >+%endif > fi > > %preun web > if [ $1 -eq 0 ] ; then >+%if 0%{?el6} >+ /bin/true >+%else > # Package removal, not upgrade > /bin/systemctl --no-reload disable deluge-web.service > /dev/null 2>&1 || : > /bin/systemctl stop deluge-web.service > /dev/null 2>&1 || : >+%endif > fi > > > %postun daemon >+%if 0%{?el6} >+/bin/true >+%else > /bin/systemctl daemon-reload >/dev/null 2>&1 || : > if [ $1 -ge 1 ] ; then > # Package upgrade, not uninstall > /bin/systemctl try-restart deluge-daemon.service >/dev/null 2>&1 || : > fi >+%endif > > %postun web >+%if 0%{?el6} >+/bin/true >+%else > /bin/systemctl daemon-reload >/dev/null 2>&1 || : > if [ $1 -ge 1 ] ; then > # Package upgrade, not uninstall > /bin/systemctl try-restart deluge-web.service >/dev/null 2>&1 || : > fi >+%endif > > %postun gtk > update-desktop-database &> /dev/null || : >@@ -300,6 +346,9 @@ gtk-update-icon-cache %{_datadir}/icons/ > /bin/systemctl try-restart deluge-daemon.service >/dev/null 2>&1 || : > > %changelog >+* Mon Dec 3 2012 Pat Riehecky <riehecky@fnal.gov> 1.3.5-3 >+- modified for EL6 >+ > * Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.5-2 > - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild >
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 869639
: 656884