[xtables-addons-kmod] Switch to akmod build
by Leigh Scott
commit 6b3a741b1c42f7331d3a41887aa828ab633ddda9
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Sat Oct 1 12:56:26 2016 +0100
Switch to akmod build
xtables-addons-kmod.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/xtables-addons-kmod.spec b/xtables-addons-kmod.spec
index 27b1577..3d729f7 100644
--- a/xtables-addons-kmod.spec
+++ b/xtables-addons-kmod.spec
@@ -3,7 +3,7 @@
# "buildforkernels newest" macro for just that build; immediately after
# queuing that build enable the macro again for subsequent builds; that way
# a new akmod package will only get build when a new one is actually needed
-#global buildforkernels newest
+%global buildforkernels akmod
#FIXME xtables-kmod doesn't use the appropriate cflags
%global debug_package %{nil}
@@ -11,7 +11,7 @@
Name: xtables-addons-kmod
Summary: Kernel module (kmod) for xtables-addons
Version: 2.11
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2
Group: System Environment/Kernel
URL: http://xtables-addons.sourceforge.net
@@ -68,6 +68,9 @@ done
rm -rf %{buildroot}
%changelog
+* Sat Oct 01 2016 Leigh Scott <leigh123linux(a)googlemail.com> - 2.11-2
+- Switch to akmod build
+
* Wed Jun 22 2016 Nicolas Chauvet <kwizart(a)gmail.com> - 2.11-1
- Update to 2.11
8 years, 2 months
[python-vlc] Add git tag to version.
by Sérgio M. Basto
commit 34cce40bc70129a689fe21ef113c125e58a1b6a1
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sat Oct 1 06:24:53 2016 +0100
Add git tag to version.
- Update to 1.1.2-20161001git5d389c7
- Update python snippets.
.gitignore | 1 +
python-vlc-snapshot.sh | 5 ++++-
python-vlc.spec | 37 ++++++++++++++++++++++---------------
sources | 2 +-
4 files changed, 28 insertions(+), 17 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d7199d3..b6944ee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
python-vlc-1.1.0-20141115git.tar.bz2
+/python-vlc-1.1.2-20161001git5d389c7.tar.bz2
diff --git a/python-vlc-snapshot.sh b/python-vlc-snapshot.sh
index 274b235..8251973 100644
--- a/python-vlc-snapshot.sh
+++ b/python-vlc-snapshot.sh
@@ -18,9 +18,12 @@ name=python-vlc
pushd "$tmp" > /dev/null
git clone git://git.videolan.org/vlc/bindings/python.git
version=$(cat python/setup.py |grep version|sed -e "s|.*= '||" -e "s|',||")
+pushd python
+tag=$(git rev-list HEAD -n 1 | cut -c 1-7)
+popd
mv python $name-$version
rm -fr $name-$version/.git
-file=$name-$version-"$sdate"git.tar.bz2
+file=$name-$version-"$sdate"git"$tag".tar.bz2
tar jcvf "$pwd"/$file $name-$version/
echo "Wrote: " $file
popd > /dev/null
diff --git a/python-vlc.spec b/python-vlc.spec
index 4e0970b..44871f9 100644
--- a/python-vlc.spec
+++ b/python-vlc.spec
@@ -1,18 +1,17 @@
-# [Fedora] Turn off the brp-python-bytecompile script
+# [Fedora] Turn off the brp-python-bytecompile script
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
-%global gitdate 20141115git
+%global gitdate 20161001git5d389c7
Name: python-vlc
-Version: 1.1.0
-Release: 9.%{gitdate}%{?dist}
+Version: 1.1.2
+Release: 1.%{gitdate}%{?dist}
Summary: VLC Media Player binding for Python
Group: Applications/Multimedia
License: GPLv2+
URL: http://www.videolan.org/
Source0: %{name}-%{version}-%{gitdate}.tar.bz2
Source9: %{name}-snapshot.sh
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python2-devel
Requires: vlc-core >= 1.1.0
@@ -25,29 +24,37 @@ This package provides a python interface to control VLC Media Player.
%build
# The vlc.py file is already generated
+%py2_build
%install
-mkdir -p $RPM_BUILD_ROOT%{python_sitelib}
-install -pm 755 generated/vlc.py \
- $RPM_BUILD_ROOT%{python_sitelib}/
-mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/examples
+%py2_install
+
+mkdir -p %{buildroot}%{_datadir}/%{name}/examples
install -pm 755 examples/* \
- $RPM_BUILD_ROOT%{_datadir}/%{name}/examples/
+ %{buildroot}%{_datadir}/%{name}/examples/
+#fix rpmlint
+chmod +x %{buildroot}%{python2_sitelib}/*py
%check
-./test.py || :
+%{__python2} setup.py test
+
%files
-%doc README TODO
-%{python_sitelib}/vlc.py*
+%doc README.rst TODO
+%{python2_sitelib}/vlc.py*
+%{python2_sitelib}/*egg-info
%{_datadir}/%{name}/
%changelog
+* Sat Oct 01 2016 Sérgio Basto <sergio(a)serjux.com> - 1.1.2-1.20161001git5d389c7
+- Add git tag to version.
+- Update to 1.1.2-20161001git5d389c7
+- Update python snippets.
+
* Mon Aug 01 2016 Sérgio Basto <sergio(a)serjux.com> - 1.1.0-9.20141115git
--
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_...
+- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_...
* Sat Nov 15 2014 Nicolas Chauvet <kwizart(a)gmail.com> - 1.1.0-8.20120503git
- Update to today's snapshot
diff --git a/sources b/sources
index 8bc0020..8e99381 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8bd3277f2f9254eb6f131948dd5f0185 python-vlc-1.1.0-20141115git.tar.bz2
+fd400903c457fbcf6f2fa75542821aca python-vlc-1.1.2-20161001git5d389c7.tar.bz2
8 years, 2 months
[perl-IP-Country] Add perl-generators to get proper requires/provides on F-25 and later
by Sérgio M. Basto
commit 664bbf3ea7c126636c7a951fd0e0c5dd184c2717
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sat Oct 1 01:26:17 2016 +0100
Add perl-generators to get proper requires/provides on F-25 and later
perl-IP-Country.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/perl-IP-Country.spec b/perl-IP-Country.spec
index 8910833..e2b0a4e 100644
--- a/perl-IP-Country.spec
+++ b/perl-IP-Country.spec
@@ -1,6 +1,6 @@
Name: perl-IP-Country
Version: 2.26
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: Fast lookup of country codes from IP addresses
License: GPL+ or Artistic
Group: Development/Libraries
@@ -8,6 +8,7 @@ URL: http://search.cpan.org/dist/IP-Country/
Source0: http://www.cpan.org/modules/by-module/IP/IP-Country-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
+BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -73,6 +74,9 @@ rm -rf %{buildroot}
%changelog
+* Sat Oct 01 2016 Sérgio Basto <sergio(a)serjux.com> - 2.26-10
+- Add perl-generators to get proper requires/provides on F-25 and later
+
* Fri Sep 30 2016 Sérgio Basto <sergio(a)serjux.com> - 2.26-9
- Rebuild for Perl with locale (buildroot with glibc-all-langpacks)
8 years, 2 months
[pdflib-lite] Add perl-generators to get proper requires/provides on F-25 and later
by Sérgio M. Basto
commit 20046f91e21ba2f9be6414d180794fe5d540c782
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sat Oct 1 01:19:59 2016 +0100
Add perl-generators to get proper requires/provides on F-25 and later
pdflib-lite.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/pdflib-lite.spec b/pdflib-lite.spec
index 8c42995..e32e154 100644
--- a/pdflib-lite.spec
+++ b/pdflib-lite.spec
@@ -5,7 +5,7 @@ Summary: Portable C library for dynamically generating PDF files
Name: pdflib-lite
# Remenber to check the URL after changing this...
Version: 7.0.5
-Release: 8%{?dist}
+Release: 9%{?dist}
License: Distributable
Group: System Environment/Libraries
URL: http://www.pdflib.com/
@@ -60,6 +60,7 @@ Summary: Perl shared library for pdflib
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl-generators
Provides: perl-pdflib = %{version}-%{release}
%if 0%{?fedora} >= 7 || 0%{?rhel} >= 6
BuildRequires: perl-devel
@@ -194,6 +195,9 @@ rm -rf %{buildroot}
%changelog
+* Sat Oct 01 2016 Sérgio Basto <sergio(a)serjux.com> - 7.0.5-9
+- Add perl-generators to get proper requires/provides on F-25 and later
+
* Fri Sep 30 2016 Sérgio Basto <sergio(a)serjux.com> - 7.0.5-8
- Rebuild for Perl with locale (buildroot with glibc-all-langpacks)
8 years, 2 months