rpms/nautilus-pastebin/devel nautilus-pastebin.spec,1.4,1.5

Ankur Sinha ankursinha at fedoraproject.org
Fri Jun 18 17:26:39 UTC 2010


Author: ankursinha

Update of /cvs/pkgs/rpms/nautilus-pastebin/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv26538

Modified Files:
	nautilus-pastebin.spec 
Log Message:
Fixed broken 0.5.0-2 release




Index: nautilus-pastebin.spec
===================================================================
RCS file: /cvs/pkgs/rpms/nautilus-pastebin/devel/nautilus-pastebin.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- nautilus-pastebin.spec	18 Jun 2010 16:14:36 -0000	1.4
+++ nautilus-pastebin.spec	18 Jun 2010 17:26:38 -0000	1.5
@@ -3,9 +3,14 @@
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
 %endif
 
+# The package should be a noarch, but the usage the %{_libdir} macro needs removal 
+# noarch
+
+%global         debug_package %{nil}
+
 Name:           nautilus-pastebin
 Version:        0.5.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Nautilus extension to send files to a pastebin
 
 Group:          User Interface/Desktops
@@ -15,7 +20,6 @@ Source0:        http://launchpad.net/nau
 # patch that makes fpaste.org default
 Patch0:         nautilus-pastebin-default.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch:      noarch    
 
 BuildRequires:  gettext
 BuildRequires:  desktop-file-utils
@@ -53,6 +57,7 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python} setu
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__python} setup.py install --root=$RPM_BUILD_ROOT --install-scripts=/usr/share/nautilus-pastebin
+install -p -D -m 0755 build/scripts-2.6/%{name}.py $RPM_BUILD_ROOT/%{_libdir}/nautilus/extensions-2.0/python/%{name}.py
 %find_lang %{name}
 desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}-configurator.desktop
 
@@ -88,6 +93,7 @@ fi
 %files -f %{name}.lang
 %defattr(-,root,root,-)
 %doc ChangeLog GPL-2 NEWS PKG-INFO README
+%{_libdir}/nautilus/extensions-2.0/python/*
 %{python_sitelib}/pastebin/*.py*
 %{python_sitelib}/nautilus_pastebin-*-py?.?.egg-info
 %config(noreplace) %{_sysconfdir}/gconf/schemas/*
@@ -96,6 +102,19 @@ fi
 %{_datadir}/applications/%{name}-configurator.desktop
 
 %changelog
+* Fri Jun 18 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.5.0-2
+- Some quick fixes to 0.5.0-1
+- Fixes bugs
+- - https://bugs.launchpad.net/nautilus-pastebin/+bug/577571 
+- - https://bugs.launchpad.net/nautilus-pastebin/+bug/577569 : informative error msg added
+- New supported pastebins:
+- - http://codepad.org
+- Fix pastebin.com.conf preset.
+- The following pastebins seem no longer to work and they will be dropped in the next release:
+- - paste.lisp.org
+- - pastebot.ltsp.org
+- - pastebin.ws
+
 * Fri Jun 18 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.5.0-1
 - updated to latest release
 



More information about the scm-commits mailing list